mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Avoid repeated import
This commit is contained in:
parent
be43cc25db
commit
fbddb6bde2
@ -317,7 +317,6 @@ def main(args=sys.argv):
|
|||||||
plugin.cli_main([plugin.name] + args[1:])
|
plugin.cli_main([plugin.name] + args[1:])
|
||||||
elif opts.run_test:
|
elif opts.run_test:
|
||||||
from calibre.utils.run_tests import run_test
|
from calibre.utils.run_tests import run_test
|
||||||
from calibre.constants import debug
|
|
||||||
debug(False)
|
debug(False)
|
||||||
run_test(opts.run_test)
|
run_test(opts.run_test)
|
||||||
elif opts.diff:
|
elif opts.diff:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user