update code

This commit is contained in:
2025-02-05 12:47:38 +01:00
parent 057117521c
commit c0db86dfcc
2 changed files with 3 additions and 4 deletions

View File

@@ -1,5 +1,4 @@
import os
import sys
import shutil
from src import config
import datetime
@@ -20,7 +19,7 @@ class Backup:
if not os.path.exists(self.archivePath):
os.makedirs(self.archivePath)
if config.database.do_backup == True:
if config.database.do_backup is True:
self.checkpaths()
config.database.do_backup = self.backup