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