Skip to content

Commit 51e0d80

Browse files
authored
Merge pull request oxen-io#2585 from yougotwill/updatei18nKeysType_python_3
fix: make updatei18nKeysType.py work with python 3
2 parents d247238 + 3232456 commit 51e0d80

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)