From 87ec04af16988c12edf425674938403da4ec7871 Mon Sep 17 00:00:00 2001 From: Chase Sterling Date: Tue, 25 Jan 2022 00:06:59 -0500 Subject: [PATCH] Fix crash when logging errors initializing gettext --- deluge/i18n/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/i18n/util.py b/deluge/i18n/util.py index 2315e3cd8..df2e3ab8a 100644 --- a/deluge/i18n/util.py +++ b/deluge/i18n/util.py @@ -119,7 +119,7 @@ def setup_translation(): try: libintl = ctypes.cdll.LoadLibrary(library) except OSError as ex: - errors.append(ex) + errors.append(str(ex)) else: break