Fix crash when logging errors initializing gettext
This commit is contained in:
parent
d8746a8852
commit
87ec04af16
|
@ -119,7 +119,7 @@ def setup_translation():
|
||||||
try:
|
try:
|
||||||
libintl = ctypes.cdll.LoadLibrary(library)
|
libintl = ctypes.cdll.LoadLibrary(library)
|
||||||
except OSError as ex:
|
except OSError as ex:
|
||||||
errors.append(ex)
|
errors.append(str(ex))
|
||||||
else:
|
else:
|
||||||
break
|
break
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue