BackupSettings

This commit is contained in:
2025-02-27 08:52:33 +01:00
parent bd2316dbfb
commit e528729181
4 changed files with 18 additions and 5 deletions

View File

@@ -195,6 +195,7 @@ class ConfigLoader(QObject):
except Exception as e:
print(str(e))
def getConfig(self):
# print(f"In {__file__} file, getConfig()")
# print(self.__config)
@@ -212,3 +213,8 @@ class ConfigLoader(QObject):
self.__config['pyqcrm']['ENCRYPTION_KEY'] = enc_key
self.__saveConfig()
@Slot(str)
def backupConfig(self, pw):
print(pw)
new_config = self.getConfig()
print(new_config)