From ea16f2ca8fb54941ae91a34501b478bbdfd2419b Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Sat, 30 Aug 2008 23:42:39 +0000 Subject: [PATCH] Fix a typo --- deluge/core/torrentmanager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deluge/core/torrentmanager.py b/deluge/core/torrentmanager.py index 724515904..fc57ec005 100644 --- a/deluge/core/torrentmanager.py +++ b/deluge/core/torrentmanager.py @@ -628,12 +628,12 @@ class TorrentManager(component.Component): self.torrents[torrent_id].update_state() def on_alert_tracker_reply(self, alert): - log.debug("on_alert_tracker_reply") + log.debug("on_alert_tracker_reply: %s", alert.message()) # Get the torrent_id torrent_id = str(alert.handle.info_hash()) # Set the tracker status for the torrent try: - if alert.message != "Got peers from DHT": + if alert.message() != "Got peers from DHT": self.torrents[torrent_id].set_tracker_status(_("Announce OK")) except KeyError: log.debug("torrent_id doesn't exist.")