Skip to content

Commit

Permalink
Merge pull request #96 from jurelou/v3.0
Browse files Browse the repository at this point in the history
Fix race condition
  • Loading branch information
wagga40 authored Nov 20, 2024
2 parents 9aab3c8 + 4175777 commit 864aa18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zircolite_dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ def __init__(self, no_output=False, limit=-1, csv_output=False, db_location=":me
#if not csv_output:

if not Path(str(tmp_directory)).is_dir():
os.mkdir(tmp_directory)
os.makedirs(tmp_directory, exist_ok=True)
if "?mode=memory&cache=shared" in db_location:
tmp_filename = f'{db_location.replace("file:", "").replace("?mode=memory&cache=shared", "")}.json'
else:
Expand Down

0 comments on commit 864aa18

Please sign in to comment.