Skip to content

Commit

Permalink
Fixed locale.py script
Browse files Browse the repository at this point in the history
  • Loading branch information
adokseo committed Oct 25, 2021
1 parent 0b82fbd commit f430501
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/locale.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def addLocales():
]

for locale in locales:
if not os.path.exists(os.path.dirname("../_locales/" + locale)):
if not os.path.exists("../_locales/" + locale):
pathlib.Path("../_locales/" + locale).mkdir(parents=True, exist_ok=True)

file = io.open("../_locales/" + locale + '/messages.json', mode='w', encoding='utf-8')
Expand Down

0 comments on commit f430501

Please sign in to comment.