From 353f4c38f172f9357ca228985d435c5e2b147ebc Mon Sep 17 00:00:00 2001 From: sOckhamSter <4546972+sOckhamSter@users.noreply.github.com> Date: Sun, 27 Jun 2021 17:11:15 +0100 Subject: [PATCH] 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. --- web/config_views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/config_views.py b/web/config_views.py index b454240..78fc63f 100644 --- a/web/config_views.py +++ b/web/config_views.py @@ -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() \ No newline at end of file + raise PreventUpdate()