Print arguments before anything
This commit is contained in:
parent
f6240f402e
commit
57a5f0c85c
1 changed files with 2 additions and 1 deletions
|
@ -560,6 +560,8 @@ def main():
|
||||||
else:
|
else:
|
||||||
GLOBAL.directory = Path(input("download directory: "))
|
GLOBAL.directory = Path(input("download directory: "))
|
||||||
|
|
||||||
|
print(" ".join(sys.argv))
|
||||||
|
|
||||||
if len(sys.argv) == 1:
|
if len(sys.argv) == 1:
|
||||||
PromptUser()
|
PromptUser()
|
||||||
else:
|
else:
|
||||||
|
@ -567,7 +569,6 @@ def main():
|
||||||
|
|
||||||
GLOBAL.config = getConfig("config.json")
|
GLOBAL.config = getConfig("config.json")
|
||||||
|
|
||||||
print(sys.argv)
|
|
||||||
|
|
||||||
if GLOBAL.arguments.log is not None:
|
if GLOBAL.arguments.log is not None:
|
||||||
logDir = Path(GLOBAL.arguments.log)
|
logDir = Path(GLOBAL.arguments.log)
|
||||||
|
|
Loading…
Reference in a new issue