Commit 04d43f3f authored by Pierre-Antoine Rouby's avatar Pierre-Antoine Rouby
Browse files

Backup: Fix backup.

Showing with 3 additions and 0 deletions
+3 -0
......@@ -112,6 +112,9 @@ class Study(SQLModel):
self._old_save_id += 1
is_new = True
if ".backup" in self.filename:
is_new = True
self._init_db_file(self.filename, is_new=is_new)
self.commit()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment