diff --git a/slpkg/dialog_configs.py b/slpkg/dialog_configs.py index f47ed83b..092b033f 100644 --- a/slpkg/dialog_configs.py +++ b/slpkg/dialog_configs.py @@ -43,7 +43,7 @@ class FormConfigs(Configs): elif value is False: value: str = 'false' elements.extend( - [(key, i, 1, value, i, 21, 47, 200, '0x0', f'Config: {key} = {value}')] + [(key, i, 1, str(value), i, 21, 47, 200, '0x0', f'Config: {key} = {value}')] ) code, tags = self.dialogbox.mixedform(text, title, elements, height, width) @@ -78,7 +78,9 @@ class FormConfigs(Configs): 'PARALLEL_DOWNLOADS', 'SPINNING_BAR', 'CASE_INSENSITIVE', - 'PROCESS_LOG' + 'PROCESS_LOG', + 'URLLIB_RETRIES', + 'URLLIB_REDIRECT' ] values: list = ['true', 'false'] @@ -122,7 +124,10 @@ class FormConfigs(Configs): 'PARALLEL_DOWNLOADS =', 'SPINNING_BAR =', 'CASE_SENSITIVE =', - 'PROCESS_LOG =') + 'PROCESS_LOG =', + 'URLLIB_RETRIES =', + 'URLLIB_REDIRECT =', + 'URLLIB_TIMEOUT =') ): line: str = line.replace('"', '')