mirror of
https://github.com/codex-storage/deluge.git
synced 2025-02-26 01:55:15 +00:00
Fix autoconnecting to a host other than the first one in the list
This commit is contained in:
parent
773f65d708
commit
43a5a9111b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user