From 3174c7534d3ac75402fae2d363d5613023dec780 Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Mon, 26 Jun 2017 22:04:12 +0100 Subject: [PATCH] [Core] Ensure tracker error message is decoded --- deluge/core/torrentmanager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/core/torrentmanager.py b/deluge/core/torrentmanager.py index 2c86d5e7f..c0f83fa50 100644 --- a/deluge/core/torrentmanager.py +++ b/deluge/core/torrentmanager.py @@ -1060,7 +1060,7 @@ class TorrentManager(component.Component): error_message = decode_bytes(alert.error_message()) if not error_message: - error_message = alert.error.message() + error_message = decode_bytes(alert.error.message()) log.debug('Tracker Error Alert: %s [%s]', decode_bytes(alert.message()), error_message) torrent.set_tracker_status('Error: ' + error_message)