mirror of
https://github.com/flobz/psa_car_controller.git
synced 2026-08-21 17:06:18 +00:00
fix: missing step 1 in config_connect()
The "Connection to PSA" page was not showing step 1 with the link to Opel login page due to a type error. As parse_qs() returns a list, we have to use first element. Fixes #808
This commit is contained in:
@@ -77,7 +77,7 @@ def display_page(pathname, search):
|
||||
elif pathname == "/config_login":
|
||||
page = config_layout("login")
|
||||
elif pathname == "/config_connect":
|
||||
page = get_oauth_config_layout(query_params["url"])
|
||||
page = get_oauth_config_layout(query_params["url"][0])
|
||||
elif pathname == "/log":
|
||||
page = log_layout()
|
||||
elif not APP.is_good:
|
||||
|
||||
Reference in New Issue
Block a user