Fix a potential bug

This commit is contained in:
Veronica K. B. Olsen
2021-02-18 20:53:31 +01:00
parent 6cc974a8e9
commit 97c884de42
+2
View File
@@ -1234,6 +1234,8 @@ class NWProject():
theLang = self.projLang
if theLang is None:
theLang = self.mainConf.spellLanguage
if theLang is None:
theLang = "en"
lngShort = theLang.split("_")[0]
loadFile = os.path.join(self.mainConf.nwLangPath, "project_en.json")