diff options
author | Andrew Resch <andrewresch@gmail.com> | 2009-12-13 21:29:46 +0000 |
---|---|---|
committer | Andrew Resch <andrewresch@gmail.com> | 2009-12-13 21:29:46 +0000 |
commit | de262bf7dbc0775222aa714696ee5ffb96df6e7f (patch) | |
tree | 43c538cf4c74516470b7ef5921105554c412e80d | |
parent | 8edd91a3d5f5f41ac2a7c2596e466aa5e1f01ce3 (diff) | |
download | deluge-de262bf7dbc0775222aa714696ee5ffb96df6e7f.tar.gz deluge-de262bf7dbc0775222aa714696ee5ffb96df6e7f.tar.bz2 deluge-de262bf7dbc0775222aa714696ee5ffb96df6e7f.zip |
Fix autoconnecting to a host other than the first one in the list
-rw-r--r-- | deluge/ui/gtkui/gtkui.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deluge/ui/gtkui/gtkui.py b/deluge/ui/gtkui/gtkui.py index 31123ccc6..96f43f5be 100644 --- a/deluge/ui/gtkui/gtkui.py +++ b/deluge/ui/gtkui/gtkui.py @@ -184,7 +184,7 @@ class GtkUI(object): # Attempt to register a magnet URI handler with gconf, but do not overwrite # if already set by another program. common.associate_magnet_links(False) - + # Make sure gtkui.conf has at least the defaults set self.config = deluge.configmanager.ConfigManager("gtkui.conf", DEFAULT_PREFS) @@ -333,7 +333,7 @@ Please see the details below for more information."), details=traceback.format_e if try_connect: do_connect(6) - break + break if self.config["show_connection_manager_on_start"]: # XXX: We need to call a simulate() here, but this could be a bug in twisted |