mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Get calibre-debug -w working again
This commit is contained in:
parent
bb03370e5a
commit
8b8bec6e6a
@ -271,7 +271,7 @@ def main(args=sys.argv):
|
||||
run_debug_gui(opts.gui_debug)
|
||||
elif opts.viewer:
|
||||
from calibre.gui_launch import ebook_viewer
|
||||
ebook_viewer(['ebook-viewer', '--debug-javascript'] + args[1:])
|
||||
ebook_viewer(['ebook-viewer'] + args[1:])
|
||||
elif opts.command:
|
||||
sys.argv = args
|
||||
exec(opts.command)
|
||||
|
Loading…
x
Reference in New Issue
Block a user