Fix crash when logging errors initializing gettext

This commit is contained in:
Chase Sterling 2022-01-25 00:06:59 -05:00 committed by Calum Lind
parent d8746a8852
commit 87ec04af16
No known key found for this signature in database
GPG Key ID: 90597A687B836BA3
1 changed files with 1 additions and 1 deletions

View File

@ -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