Skip to content

Bulk asynchronous downloader for multiple file hosts

proper test folder so I don't forget it.

Jules-WinnfieldX3f2f73a6295b
diff --git a/cyberdrop_dl/managers/directory_manager.py b/cyberdrop_dl/managers/directory_manager.py
index 114695ecc..afdc9d78a 100644
--- a/cyberdrop_dl/managers/directory_manager.py
+++ b/cyberdrop_dl/managers/directory_manager.py
@@ -4,10 +4,14 @@ from pathlib import Path
import platformdirs
-APP_STORAGE = Path("../Test-AppData-Dir")
-DOWNLOAD_STORAGE = Path("../Test-Download-Dir")
+if os.getenv("PYCHARM_HOSTED") is not None:
+ APP_STORAGE = Path("../Test-AppData-Dir")
+ DOWNLOAD_STORAGE = Path("../Test-Download-Dir")
+else:
+ APP_STORAGE = Path("./Test-AppData-Dir")
+ DOWNLOAD_STORAGE = Path("./Test-Download-Dir")
-#if os.getenv("PYCHARM_HOSTED") is not None:
+# if os.getenv("PYCHARM_HOSTED") is not None:
# """This is for testing purposes only"""
# APP_STORAGE = Path("../Test-AppData-Dir")
# DOWNLOAD_STORAGE = Path("../Test-Download-Dir")