i18n utils: Cleanup.

This commit is contained in:
2020-12-04 14:55:23 +01:00
parent 04d3b54000
commit 69dd7e42c8

View File

@@ -40,7 +40,7 @@ def gen_menu_file(stats, settings):
# Generate languages file used by Blender's i18n system.
# First, match all entries in LANGUAGES to a lang in stats, if possible!
tmp = []
for uid_num, label, uid, in settings.LANGUAGES:
for uid_num, label, uid in settings.LANGUAGES:
if uid in stats:
if uid in settings.IMPORT_LANGUAGES_SKIP:
tmp.append((stats[uid], uid_num, label, uid, FORBIDDEN))