mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-09-19 04:59:01 +00:00
deluge: Handle prompt to change default password
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
4297983ff1
commit
92d128a4b3
@ -319,6 +319,10 @@ def _deluge_ensure_connected(browser):
|
|||||||
"""Type the connection password if required and start Deluge daemon."""
|
"""Type the connection password if required and start Deluge daemon."""
|
||||||
_deluge_ensure_logged_in(browser)
|
_deluge_ensure_logged_in(browser)
|
||||||
|
|
||||||
|
# Change Default Password window appears once.
|
||||||
|
if _deluge_get_active_window_title(browser) == 'Change Default Password':
|
||||||
|
_deluge_click_active_window_button(browser, 'No')
|
||||||
|
|
||||||
# If the add button is enabled, we are already connected
|
# If the add button is enabled, we are already connected
|
||||||
if not browser.is_element_present_by_css('#add.x-item-disabled'):
|
if not browser.is_element_present_by_css('#add.x-item-disabled'):
|
||||||
return
|
return
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user