mirror of https://gitlab.com/pamhyr/pamhyr2
Backup: Fix backup.
parent
b7ebf961ac
commit
04d43f3f28
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue