diff --git a/mm_accounts_config_gen.py b/mm_accounts_config_gen.py index 5e60a77..2d80825 100644 --- a/mm_accounts_config_gen.py +++ b/mm_accounts_config_gen.py @@ -172,7 +172,7 @@ def about_window(): selected_perms = [key for key, value in values.items() if value and isinstance(window[key], sg.Checkbox)] perms = f":".join(selected_perms) perms = compress_numbers(perms) - if perms != "*": + if perms != "*" and values['extras'] != "": perms += f":{values['extras']}" string = f"scr_mm_users_{selected_group} \"{users_pass.strip()}\"\nscr_mm_perms_{selected_group} \"{perms}\"\n"