mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-13 03:38:51 +00:00
Fix typo
This commit is contained in:
parent
fbb5cd94e8
commit
c20226c187
1 changed files with 3 additions and 3 deletions
|
@ -693,7 +693,7 @@ class TorrentManager(component.Component):
|
||||||
return
|
return
|
||||||
# Set the tracker status for the torrent
|
# Set the tracker status for the torrent
|
||||||
if alert.message() != "Got peers from DHT":
|
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
|
# Check to see if we got any peer information from the tracker
|
||||||
if alert.handle.status().num_complete == -1 or \
|
if alert.handle.status().num_complete == -1 or \
|
||||||
|
@ -735,7 +735,7 @@ class TorrentManager(component.Component):
|
||||||
tracker_status = '%s: %s' % (_("Warning"), str(alert.message()))
|
tracker_status = '%s: %s' % (_("Warning"), str(alert.message()))
|
||||||
# Set the tracker status for the torrent
|
# Set the tracker status for the torrent
|
||||||
torrent.set_tracker_status(tracker_status)
|
torrent.set_tracker_status(tracker_status)
|
||||||
|
|
||||||
def on_alert_tracker_error(self, alert):
|
def on_alert_tracker_error(self, alert):
|
||||||
log.debug("on_alert_tracker_error")
|
log.debug("on_alert_tracker_error")
|
||||||
try:
|
try:
|
||||||
|
@ -744,7 +744,7 @@ class TorrentManager(component.Component):
|
||||||
return
|
return
|
||||||
tracker_status = "%s: %s" % (_("Error"), alert.msg)
|
tracker_status = "%s: %s" % (_("Error"), alert.msg)
|
||||||
torrent.set_tracker_status(tracker_status)
|
torrent.set_tracker_status(tracker_status)
|
||||||
|
|
||||||
def on_alert_storage_moved(self, alert):
|
def on_alert_storage_moved(self, alert):
|
||||||
log.debug("on_alert_storage_moved")
|
log.debug("on_alert_storage_moved")
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue