Thread
:
[FileType Plugin] GetFileName
View Single Post
10-16-2017, 03:33 AM
#
252
kovidgoyal
creator of calibre
Posts: 45,461
Karma: 27757440
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Use the code I posted earlier, falling back to calling db() when get_gui() returns None (which means you are not in a GUI context).
kovidgoyal
View Public Profile
Visit kovidgoyal's homepage!
Find More Posts by kovidgoyal
Track Posts by kovidgoyal via RSS