summaryrefslogtreecommitdiffstats
path: root/deluge/core/alertmanager.py
diff options
context:
space:
mode:
Diffstat (limited to 'deluge/core/alertmanager.py')
-rw-r--r--deluge/core/alertmanager.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/deluge/core/alertmanager.py b/deluge/core/alertmanager.py
index 970a1506e..bcc60fedf 100644
--- a/deluge/core/alertmanager.py
+++ b/deluge/core/alertmanager.py
@@ -46,6 +46,7 @@ from twisted.internet import reactor
import deluge.component as component
from deluge._libtorrent import lt
+from deluge.common import decode_string
log = logging.getLogger(__name__)
@@ -123,7 +124,7 @@ class AlertManager(component.Component):
alert_type = type(alert).__name__
# Display the alert message
if log.isEnabledFor(logging.DEBUG):
- log.debug("%s: %s", alert_type, alert.message())
+ log.debug("%s: %s", alert_type, decode_string(alert.message()))
# Call any handlers for this alert type
if alert_type in self.handlers:
for handler in self.handlers[alert_type]: