diff --git a/tools/updateI18nKeysType.py b/tools/updateI18nKeysType.py index 11dfb29cf..585a07490 100755 --- a/tools/updateI18nKeysType.py +++ b/tools/updateI18nKeysType.py @@ -19,7 +19,7 @@ with open(EN_FILE,'r') as jsonFile: data = json.load(jsonFile) keys = data.keys() - stringToWrite += json.dumps(keys, sort_keys=True).replace(',', '\n |').replace('"', '\'')[1:-1] + stringToWrite += json.dumps(list(keys), sort_keys=True).replace(',', '\n |').replace('"', '\'')[1:-1] stringToWrite += ';\n'