Bugfix if settings directory doesn't exist (#432)

* bugfix if settings directory doesnt exist

* Create directories in persistency

---------

Co-authored-by: Raffson <Raffson@users.noreply.github.com>
This commit is contained in:
Druss99
2024-12-21 11:44:31 -05:00
committed by GitHub
parent 266e69a6ce
commit 6d0dbd4d1c
7 changed files with 20 additions and 30 deletions

View File

@@ -332,7 +332,6 @@ class QLiberationWindow(QMainWindow):
now = datetime.now()
date_time = now.strftime("%Y-%d-%mT%H_%M_%S")
path = pre_pretense_backups_dir()
path.mkdir(parents=True, exist_ok=True)
tgt = path / f"pre-pretense-backup_{date_time}.retribution"
path /= f".pre-pretense-backup.retribution"
if path.exists():