Fixed about configs

This commit is contained in:
Dimitris Zlatanidis 2023-01-15 12:31:06 +02:00
parent a4fe0f7938
commit 6f5a9b0e12

View file

@ -65,7 +65,7 @@ class FormConfigs:
def check_configs(self, configs: dict, tags: list) -> bool:
""" Check for true of false values. """
for key, value in zip(configs['configs'].keys(), tags):
if key in ['colors', 'dialog'] and value not in ['true', 'false']:
if key in ['colors', 'dialog', 'silent_mode'] and value not in ['true', 'false']:
self.dialog.msgbox(f"\nError value for {key}. It must be 'true' or 'false'\n", height=7, width=60)
return False
return True