mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-09 01:48:40 +00:00
Fix classic mode
This commit is contained in:
parent
b91b750024
commit
19196b1363
1 changed files with 3 additions and 2 deletions
|
@ -156,9 +156,10 @@ class ConnectionManager(component.Component):
|
||||||
if self.gtkui_config["classic_mode"]:
|
if self.gtkui_config["classic_mode"]:
|
||||||
self.start_localhost(DEFAULT_PORT)
|
self.start_localhost(DEFAULT_PORT)
|
||||||
# We need to wait for the host to start before connecting
|
# We need to wait for the host to start before connecting
|
||||||
while not self.test_online_status(DEFAULT_URI):
|
uri = self.get_localhost_auth_uri(DEFAULT_URI)
|
||||||
|
while not self.test_online_status(uri):
|
||||||
time.sleep(0.01)
|
time.sleep(0.01)
|
||||||
client.set_core_uri(DEFAULT_URI)
|
client.set_core_uri(uri)
|
||||||
self.hide()
|
self.hide()
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue