mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
reset DEBUG before importing run_tests
This commit is contained in:
parent
fbddb6bde2
commit
34bba138e0
@ -316,8 +316,8 @@ def main(args=sys.argv):
|
||||
raise SystemExit(1)
|
||||
plugin.cli_main([plugin.name] + args[1:])
|
||||
elif opts.run_test:
|
||||
from calibre.utils.run_tests import run_test
|
||||
debug(False)
|
||||
from calibre.utils.run_tests import run_test
|
||||
run_test(opts.run_test)
|
||||
elif opts.diff:
|
||||
from calibre.gui2.tweak_book.diff.main import main
|
||||
|
Loading…
x
Reference in New Issue
Block a user