mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-11-17 07:48:18 +01:00
Fixed about configs
This commit is contained in:
parent
a4fe0f7938
commit
6f5a9b0e12
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue