diff --git a/tools/check_preset_settings.py b/tools/check_preset_settings.py index e634d9decd..3996d6bcb5 100644 --- a/tools/check_preset_settings.py +++ b/tools/check_preset_settings.py @@ -62,7 +62,7 @@ class PresetSettingsValidator: # show results print("==========================================") - if incorrect_settings or incorrect_settings: + if incorrect_sections or incorrect_settings: has_invalid_files = True print("[INVALID] [%s] is invalid, details below" % file_path)