diff options
author | Chase Sterling <chase.sterling@gmail.com> | 2022-01-25 00:06:59 -0500 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2022-01-26 18:44:46 +0000 |
commit | 87ec04af16988c12edf425674938403da4ec7871 (patch) | |
tree | c972dabc1c534678c22e09624813a937f9e25c9f /deluge/i18n/util.py | |
parent | d8746a88526bb059d45b89ce1daeb7cf4c58d0b9 (diff) | |
download | deluge-87ec04af16988c12edf425674938403da4ec7871.tar.gz deluge-87ec04af16988c12edf425674938403da4ec7871.tar.bz2 deluge-87ec04af16988c12edf425674938403da4ec7871.zip |
Fix crash when logging errors initializing gettext
Diffstat (limited to 'deluge/i18n/util.py')
-rw-r--r-- | deluge/i18n/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |