aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin ALEXANDER <colisee@hotmail.com>2022-02-03 10:47:08 +0100
committerRobin ALEXANDER <colisee@hotmail.com>2022-02-03 10:47:08 +0100
commit6db5087d69445592e193267fbe2e13b96b4c41d7 (patch)
tree2b8b0821058b955380bfd9ce39e16f2607ce25c0
parent9257956d8cb85179557f41f1d1ad9bb069bb8e74 (diff)
downloaddabmux-6db5087d69445592e193267fbe2e13b96b4c41d7.tar.gz
dabmux-6db5087d69445592e193267fbe2e13b96b4c41d7.tar.bz2
dabmux-6db5087d69445592e193267fbe2e13b96b4c41d7.zip
Return to "/" when parameter modified
-rwxr-xr-xgui/odr-dabmux-gui.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/gui/odr-dabmux-gui.py b/gui/odr-dabmux-gui.py
index 2f028e4..31f9588 100755
--- a/gui/odr-dabmux-gui.py
+++ b/gui/odr-dabmux-gui.py
@@ -97,8 +97,9 @@ def rc_post(module, param):
value = rc.get_param_value(module, param)
- return """<p>Parameter is now {}</p>
-<p><a href="/#rcmodules">Return</a></p>""".format(value)
+ return """<html><head>
+ <meta http-equiv="refresh" content="0;url='/'" />
+ </head></html>"""
@route('/')
def index():