Skip to content

Commit

Permalink
Fix findSimilarVer
Browse files Browse the repository at this point in the history
  • Loading branch information
zam1024t committed Sep 15, 2017
1 parent ac66fff commit ec7b04f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Localize.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ def setLocale(locale, force = False):

sDir = ''
d = os.path.join(mDir, version)
if (not os.path.isdir(d)) and getSetting('findSimilarVer'):
ld = os.path.join(d, locale)
if (not os.path.isdir(ld)) and getSetting('findSimilarVer'):
sDir = findSimilarVer()
if not sDir:
return
Expand Down

0 comments on commit ec7b04f

Please sign in to comment.