mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-17 22:06:27 +00:00
tweak unicode from tracker
This commit is contained in:
parent
3946b03b83
commit
20d13f8ddc
@ -736,9 +736,9 @@ Space:") + " " + nice_free)
|
|||||||
self.set_supp_torrent_state_val(event['unique_ID'],
|
self.set_supp_torrent_state_val(event['unique_ID'],
|
||||||
"tracker_status",
|
"tracker_status",
|
||||||
tracker_status)
|
tracker_status)
|
||||||
except Exception, e:
|
except UnicodeDecodeError:
|
||||||
print "There was a problem displaying a tracker alert. Most\
|
print "There was a problem displaying a tracker alert. Most\
|
||||||
likely the tracker did not responsd in utf-8.", e
|
likely the tracker did not responsd in utf-8."
|
||||||
|
|
||||||
elif event['event_type'] is self.constants['EVENT_TRACKER_WARNING']:
|
elif event['event_type'] is self.constants['EVENT_TRACKER_WARNING']:
|
||||||
# Probably will need proper formatting later, not tested yet
|
# Probably will need proper formatting later, not tested yet
|
||||||
|
Loading…
x
Reference in New Issue
Block a user