Skip to content

Commit 3232456

Browse files
committed
fix: make updatei18nKeysType.py work with python 3
1 parent 8f426a5 commit 3232456

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/updateI18nKeysType.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
data = json.load(jsonFile)
2020
keys = data.keys()
2121

22-
stringToWrite += json.dumps(keys, sort_keys=True).replace(',', '\n |').replace('"', '\'')[1:-1]
22+
stringToWrite += json.dumps(list(keys), sort_keys=True).replace(',', '\n |').replace('"', '\'')[1:-1]
2323

2424

2525
stringToWrite += ';\n'

0 commit comments

Comments
 (0)