mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Backup: Fix backup.
This commit is contained in:
1 parent
b7ebf961ac
commit
04d43f3f28
1 file changed
+3
@@ -112,6 +112,9 @@ class Study(SQLModel):
|
|||||||
self._old_save_id += 1
|
self._old_save_id += 1
|
||||||
is_new = True
|
is_new = True
|
||||||
|
|
||||||
|
if ".backup" in self.filename:
|
||||||
|
is_new = True
|
||||||
|
|
||||||
self._init_db_file(self.filename, is_new=is_new)
|
self._init_db_file(self.filename, is_new=is_new)
|
||||||
self.commit()
|
self.commit()
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user