mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
e3b6564e44
commit
217d0f3151
@ -182,7 +182,10 @@ def main(args=sys.argv):
|
|||||||
from calibre.constants import debug
|
from calibre.constants import debug
|
||||||
debug()
|
debug()
|
||||||
if len(args) > 2 and args[1] in ('-e', '--exec-file'):
|
if len(args) > 2 and args[1] in ('-e', '--exec-file'):
|
||||||
import calibre.customize.ui as dummy # Load allplugins
|
|
||||||
|
# Load all plugins user defined plugins so the script can import from the
|
||||||
|
# calibre_plugins namespace
|
||||||
|
import calibre.customize.ui as dummy
|
||||||
dummy
|
dummy
|
||||||
|
|
||||||
sys.argv = [args[2]] + args[3:]
|
sys.argv = [args[2]] + args[3:]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user