Late load optional json library.
This commit is contained in:
parent
0f8a1fc6a8
commit
9c4fabfd71
5
buku
5
buku
@ -29,7 +29,6 @@ from urllib.parse import urljoin, quote, unquote
|
||||
import gzip
|
||||
import io
|
||||
import signal
|
||||
import json
|
||||
import shutil
|
||||
import textwrap
|
||||
|
||||
@ -1154,7 +1153,9 @@ if args.showOpt is not None:
|
||||
showOpt = args.showOpt
|
||||
if titleManual is not None and len(args.title) > 0:
|
||||
titleManual = " ".join(args.title)
|
||||
jsonOutput = args.jsonOutput
|
||||
if args.jsonOutput:
|
||||
import json
|
||||
jsonOutput = args.jsonOutput
|
||||
debug = args.debug
|
||||
|
||||
# Show version in debug logs
|
||||
|
Loading…
x
Reference in New Issue
Block a user