fix: make updatei18nKeysType.py work with python 3

This commit is contained in:
William Grant 2022-10-28 16:07:26 +11:00
parent 8f426a5b53
commit 3232456864
1 changed files with 1 additions and 1 deletions

View File

@ -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'