mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix order of fake protocol registration in standalone ToC editor
This commit is contained in:
parent
fdf95531e0
commit
ab4f3c8fdf
@ -1207,8 +1207,8 @@ def main(shm_name=None):
|
||||
override = 'calibre-gui' if islinux else None
|
||||
app = Application([], override_program_name=override)
|
||||
from calibre.utils.webengine import setup_default_profile, setup_fake_protocol
|
||||
setup_default_profile()
|
||||
setup_fake_protocol()
|
||||
setup_default_profile()
|
||||
d = TOCEditor(path, title=title, write_result_to=path + '.result')
|
||||
d.start()
|
||||
ok = 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user