mirror of
https://github.com/flobz/psa_car_controller.git
synced 2026-08-22 09:26:16 +00:00
Update config_views.py
Corrected help text to advise using the country code GB for United Kingdom, instead of EN for England which does not work.
This commit is contained in:
+2
-2
@@ -61,7 +61,7 @@ config_layout = dbc.Row(dbc.Col(className="col-md-12 col-lg-2 ml-2", children=[
|
||||
placeholder="Enter your country code",
|
||||
),
|
||||
dbc.FormText(
|
||||
"Example: FR for FRANCE or EN for England",
|
||||
"Example: FR for FRANCE or GB for United Kingdom",
|
||||
color="secondary",
|
||||
)
|
||||
]
|
||||
@@ -180,4 +180,4 @@ def finishOtp(n_clicks, code_pin, sms_code): # pylint: disable=unused-argument
|
||||
except Exception as e:
|
||||
res = str(e)
|
||||
return dbc.Alert(res, color="danger")
|
||||
raise PreventUpdate()
|
||||
raise PreventUpdate()
|
||||
|
||||
Reference in New Issue
Block a user