We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0cd65ab commit 32cdf27Copy full SHA for 32cdf27
main.py
@@ -383,11 +383,11 @@ def get_persistence() -> PicklePersistence:
383
"""
384
Build a persistence object that works both locally and in Docker.
385
- Uses an env var override if provided.
386
- - Defaults to <project_root>/condor_bot_data.pickle.
+ - Defaults to <project_root>/data/condor_bot_data.pickle.
387
- Ensures the parent directory exists, but does NOT create the file.
388
389
base_dir = Path(__file__).parent
390
- default_path = base_dir / "condor_bot_data.pickle"
+ default_path = base_dir / "data" / "condor_bot_data.pickle"
391
392
persistence_path = Path(os.getenv("CONDOR_PERSISTENCE_FILE", default_path))
393
0 commit comments