mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
...
This commit is contained in:
parent
206d4982ab
commit
ccd7d1c253
@ -303,7 +303,7 @@ def run_gui(opts, args, actions, listener, app, gui_debug=None):
|
|||||||
runner.main.system_tray_icon.hide()
|
runner.main.system_tray_icon.hide()
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
if runner.main.gui_debug is not None:
|
if getattr(runner.main, 'gui_debug', None) is not None:
|
||||||
e = sys.executable if getattr(sys, 'frozen', False) else sys.argv[0]
|
e = sys.executable if getattr(sys, 'frozen', False) else sys.argv[0]
|
||||||
import subprocess
|
import subprocess
|
||||||
creationflags = 0
|
creationflags = 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user