BackupSettings
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user