mirror of
https://github.com/KevinMidboe/bulk-downloader-for-reddit.git
synced 2025-10-29 17:40:15 +00:00
Ignore space at the end of directory
This commit is contained in:
@@ -657,7 +657,7 @@ def main():
|
|||||||
if GLOBAL.arguments.directory is not None:
|
if GLOBAL.arguments.directory is not None:
|
||||||
GLOBAL.directory = Path(GLOBAL.arguments.directory)
|
GLOBAL.directory = Path(GLOBAL.arguments.directory)
|
||||||
else:
|
else:
|
||||||
GLOBAL.directory = Path(input("download directory: "))
|
GLOBAL.directory = Path(input("download directory: ").strip())
|
||||||
|
|
||||||
print("\n"," ".join(sys.argv),"\n",noPrint=True)
|
print("\n"," ".join(sys.argv),"\n",noPrint=True)
|
||||||
print(f"Bulk Downloader for Reddit v{__version__}\n",noPrint=True
|
print(f"Bulk Downloader for Reddit v{__version__}\n",noPrint=True
|
||||||
|
|||||||
Reference in New Issue
Block a user