Skip to content

Commit

Permalink
Merge branch 'hotfix/disk-only-db' of github.com:medema-group/BiG-SCA…
Browse files Browse the repository at this point in the history
…PE into hotfix/disk-only-db
  • Loading branch information
adraismawur committed Oct 10, 2024
2 parents b4a70b7 + 16c8ccc commit d434016
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions big_scape/data/sqlite.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,10 @@ def save_to_disk(db_path: Path, force=False) -> None:
if click_context and click_context.obj["disk_only"]:
return

# skip this if we are using disk-only mode
if click_context and click_context.obj["disk_only"]:
return

if not DB.opened():
raise DBClosedError()

Expand Down

0 comments on commit d434016

Please sign in to comment.