Skip to content
This repository was archived by the owner on Nov 17, 2025. It is now read-only.

Commit 00eb9d4

Browse files
committed
Update async_event_update_utils.py
1 parent 546564a commit 00eb9d4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

fastlane_bot/events/async_event_update_utils.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,8 +387,9 @@ def async_update_pools_from_contracts(mgr: Any, current_block: int, logging_path
387387
"y_1",
388388
"liquidity",
389389
]
390-
if not os.path.exists(dirname):
391-
os.mkdir(dirname)
390+
if not mgr.read_only:
391+
if not os.path.exists(dirname):
392+
os.mkdir(dirname)
392393
start_time = time.time()
393394
# deplicate pool data
394395

0 commit comments

Comments
 (0)