1
0
Fork 0
mirror of synced 2024-06-28 02:50:27 +12:00

Print arguments before anything

This commit is contained in:
Ali Parlakci 2018-07-11 19:31:32 +03:00
parent f6240f402e
commit 57a5f0c85c

View file

@ -560,6 +560,8 @@ def main():
else:
GLOBAL.directory = Path(input("download directory: "))
print(" ".join(sys.argv))
if len(sys.argv) == 1:
PromptUser()
else:
@ -567,7 +569,6 @@ def main():
GLOBAL.config = getConfig("config.json")
print(sys.argv)
if GLOBAL.arguments.log is not None:
logDir = Path(GLOBAL.arguments.log)