From ec7b04f45e109a1682a41092cd461fb00eee6e75 Mon Sep 17 00:00:00 2001 From: zam Date: Fri, 15 Sep 2017 12:43:06 +0800 Subject: [PATCH] Fix findSimilarVer --- Localize.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Localize.py b/Localize.py index 3919a6d..6d40836 100644 --- a/Localize.py +++ b/Localize.py @@ -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