Quote:
Originally Posted by kovidgoyal
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).
|
OK, thank you very much, I'll do that. Sorry for my mistakes, but I don't know a lot about calibre code.