From f82b61ccf40af30d5c44f04b71634d28b1213d90 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Fri, 5 Aug 2022 15:23:22 -0700 Subject: [PATCH] Fix static analysis old-commit-hash: 088719c86c050c9a73f45f5a472a88af5e539db1 --- selfdrive/ui/update_translations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/ui/update_translations.py b/selfdrive/ui/update_translations.py index 3a278b4812..e509168ad6 100755 --- a/selfdrive/ui/update_translations.py +++ b/selfdrive/ui/update_translations.py @@ -17,7 +17,7 @@ def update_translations(vanish=False, plural_only=None, translations_dir=TRANSLA with open(LANGUAGES_FILE, "r") as f: translation_files = json.load(f) - for name, file in translation_files.items(): + for file in translation_files.values(): tr_file = os.path.join(translations_dir, f"{file}.ts") args = f"lupdate -recursive {UI_DIR} -ts {tr_file}" if vanish: