Skip to content

Commit ad299d3

Browse files
authored
Merge pull request #202 from hughrun/fixup
fix filepath check for l18n
2 parents 5880133 + 92968bc commit ad299d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

i18n.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
locales = []
2525
for dirpath, dirnames, filenames in os.walk(localedir):
2626
for dirname in dirnames:
27-
if os.path.exists(f"{dirname}/LC_MESSAGES/messages.mo"):
27+
if os.path.exists(f"{localedir}/{dirname}/LC_MESSAGES/messages.mo"):
2828
locales.append(dirname)
2929
break
3030

0 commit comments

Comments
 (0)