mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Content server: Fix conversion of comics not working. Fixes #1847017 [WebUI conversion failed for all comic cbz/cbr format, GUI works fine](https://bugs.launchpad.net/calibre/+bug/1847017)
Could not launch non simple workers from within a simple worker. Now fixed.
This commit is contained in:
parent
8723d0ee27
commit
91e2b16deb
@ -177,7 +177,7 @@ def main():
|
||||
# so launch the gui as usual
|
||||
from calibre.gui2.main import main as gui_main
|
||||
return gui_main(['calibre'])
|
||||
csw = os.environ.get('CALIBRE_SIMPLE_WORKER', None)
|
||||
csw = os.environ.pop('CALIBRE_SIMPLE_WORKER', None)
|
||||
if csw:
|
||||
mod, _, func = csw.partition(':')
|
||||
mod = importlib.import_module(mod)
|
||||
|
Loading…
x
Reference in New Issue
Block a user