Styling test

This commit is contained in:
2024-11-04 15:51:51 +01:00
parent fcdcf3b0d9
commit 64d4fa3305
9 changed files with 105 additions and 16 deletions

View File

@@ -21,8 +21,6 @@ class ConfigLoader(QObject):
@Slot(dict)
def setConfig(self, app_config):
try:
with open (self.config_dir + '/pyqcrm.toml', 'w') as f:
config = Vermasseln().oscarVermasseln(toml.dumps(app_config))
@@ -32,12 +30,10 @@ class ConfigLoader(QObject):
def __configLoad(self):
try:
with open (self.config_dir + '/pyqcrm.toml', 'r') as f:
config = f.read()
self.__config = toml.loads(Vermasseln().entschluesseln(config))
print(self.__config)
except FileNotFoundError:
print("Konnte die Konfiguration nicht laden.")