Skip to content

Commit 32cdf27

Browse files
committed
(feat) unify default pickle path
1 parent 0cd65ab commit 32cdf27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,11 +383,11 @@ def get_persistence() -> PicklePersistence:
383383
"""
384384
Build a persistence object that works both locally and in Docker.
385385
- Uses an env var override if provided.
386-
- Defaults to <project_root>/condor_bot_data.pickle.
386+
- Defaults to <project_root>/data/condor_bot_data.pickle.
387387
- Ensures the parent directory exists, but does NOT create the file.
388388
"""
389389
base_dir = Path(__file__).parent
390-
default_path = base_dir / "condor_bot_data.pickle"
390+
default_path = base_dir / "data" / "condor_bot_data.pickle"
391391

392392
persistence_path = Path(os.getenv("CONDOR_PERSISTENCE_FILE", default_path))
393393

0 commit comments

Comments
 (0)