From 867f6501d9bcaf89713032ae6a700aa081ebeff2 Mon Sep 17 00:00:00 2001 From: smk762 Date: Fri, 15 Nov 2024 23:50:57 +0800 Subject: [PATCH] len --- utils/generate_app_configs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/generate_app_configs.py b/utils/generate_app_configs.py index 899a0f058..143564183 100755 --- a/utils/generate_app_configs.py +++ b/utils/generate_app_configs.py @@ -763,7 +763,7 @@ def sort_dicts_list(data, sort_key): if __name__ == "__main__": skip_scan = False - if sys.argv > 1: + if len(sys.argv) > 1: if sys.argv[1] == "no-scan": skip_scan = True if skip_scan is False: