Skip to content

Bulk asynchronous downloader for multiple file hosts

proper test folder so I don't forget it.

Jules-WinnfieldX34494e666930
diff --git a/cyberdrop_dl/managers/directory_manager.py b/cyberdrop_dl/managers/directory_manager.py
index 114695ecc..59cd6a45e 100644
--- a/cyberdrop_dl/managers/directory_manager.py
+++ b/cyberdrop_dl/managers/directory_manager.py
@@ -4,8 +4,12 @@ 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:
# """This is for testing purposes only"""