Skip to content

Commit

Permalink
Merge pull request #2585 from yougotwill/updatei18nKeysType_python_3
Browse files Browse the repository at this point in the history
fix: make updatei18nKeysType.py work with python 3
  • Loading branch information
Bilb committed Nov 8, 2022
2 parents d247238 + 3232456 commit 51e0d80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/updateI18nKeysType.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
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'
Expand Down

0 comments on commit 51e0d80

Please sign in to comment.