Print arguments before anything
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user