mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-27 02:20:32 +00:00
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…
x
Reference in New Issue
Block a user