Skip to content

Commit 08e4d96

Browse files
committed
fix an error when updating the paths of the ini file, the ini file must be updated before the first load of the library.
1 parent 9af346a commit 08e4d96

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

addon/synthDrivers/_ibmeci.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,8 @@ def eciCheck():
278278
setPathsFromConfig()
279279
if not path.exists(ttsPath): return False
280280
try:
281+
# the ini file must be updated before the first load of the library.
282+
updateIniPaths()
281283
loadEciLibrary().eciVersion
282284
return True
283285
except:
@@ -288,7 +290,6 @@ def eciCheck():
288290
def eciNew():
289291
global avLangs
290292
eciCheck()
291-
updateIniPaths()
292293
eci = loadEciLibrary()
293294
b=c_int()
294295
eci.eciGetAvailableLanguages(0,byref(b))

0 commit comments

Comments
 (0)