mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
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:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user