mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-08 01:18:39 +00:00
Fix crash when logging errors initializing gettext
This commit is contained in:
parent
d8746a8852
commit
87ec04af16
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue