From 9878fced37a59aff679cec88d0c2eadef1fafdd9 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Sun, 13 Dec 2009 21:46:55 +0000 Subject: [PATCH] Fix issue where hosts will show up erroneously as Offline --- ChangeLog | 1 + deluge/ui/gtkui/connectionmanager.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e4947af28..89187a571 100644 --- a/ChangeLog +++ b/ChangeLog @@ -24,6 +24,7 @@ while the window is visible. * Fix #782 do not ask for tray password when window is not minimized to tray * Fix #1036 autoconnecting to localhost daemon on start-up + * Fix issue where hosts will show up erroneously as Offline ==== Console ==== * Fix using the console in Windows, but only in command-line mode diff --git a/deluge/ui/gtkui/connectionmanager.py b/deluge/ui/gtkui/connectionmanager.py index d76e0fcac..24108b895 100644 --- a/deluge/ui/gtkui/connectionmanager.py +++ b/deluge/ui/gtkui/connectionmanager.py @@ -283,7 +283,7 @@ class ConnectionManager(component.Component): d.addCallback(on_info, c) d.addErrback(on_info_fail, c) - def on_connect_failed(reason, host_info): + def on_connect_failed(reason, host_id): if not self.running: return row = self.__get_host_row(host_id)