diff options
author | Andrew Resch <andrewresch@gmail.com> | 2009-04-23 18:16:38 +0000 |
---|---|---|
committer | Andrew Resch <andrewresch@gmail.com> | 2009-04-23 18:16:38 +0000 |
commit | c20226c187e47ec8cb86d38faf7b5bbcfd23750e (patch) | |
tree | 8ef36ac7cd126e742db2058c1391be7caa59c910 | |
parent | fbb5cd94e8b8bd5d6ae9b89efb5dd6d18c00a8f8 (diff) | |
download | deluge-c20226c187e47ec8cb86d38faf7b5bbcfd23750e.tar.gz deluge-c20226c187e47ec8cb86d38faf7b5bbcfd23750e.tar.bz2 deluge-c20226c187e47ec8cb86d38faf7b5bbcfd23750e.zip |
Fix typo
-rw-r--r-- | deluge/core/torrentmanager.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/deluge/core/torrentmanager.py b/deluge/core/torrentmanager.py index 5cb4d994e..638531b65 100644 --- a/deluge/core/torrentmanager.py +++ b/deluge/core/torrentmanager.py @@ -693,7 +693,7 @@ class TorrentManager(component.Component): return # Set the tracker status for the torrent if alert.message() != "Got peers from DHT": - tracker.set_tracker_status(_("Announce OK")) + torrent.set_tracker_status(_("Announce OK")) # Check to see if we got any peer information from the tracker if alert.handle.status().num_complete == -1 or \ @@ -735,7 +735,7 @@ class TorrentManager(component.Component): tracker_status = '%s: %s' % (_("Warning"), str(alert.message())) # Set the tracker status for the torrent torrent.set_tracker_status(tracker_status) - + def on_alert_tracker_error(self, alert): log.debug("on_alert_tracker_error") try: @@ -744,7 +744,7 @@ class TorrentManager(component.Component): return tracker_status = "%s: %s" % (_("Error"), alert.msg) torrent.set_tracker_status(tracker_status) - + def on_alert_storage_moved(self, alert): log.debug("on_alert_storage_moved") try: |