Skip to content

Commit f430501

Browse files
committed
Fixed locale.py script
1 parent 0b82fbd commit f430501

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

py/locale.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def addLocales():
144144
]
145145

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

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

0 commit comments

Comments
 (0)