aboutsummaryrefslogtreecommitdiffstats
path: root/gui/odr-dabmux-gui.py
diff options
context:
space:
mode:
authorRobin ALEXANDER <colisee@hotmail.com>2022-02-05 22:19:42 +0100
committerRobin ALEXANDER <colisee@hotmail.com>2022-02-05 22:19:42 +0100
commitb6376fb8f1379bebd3241f29e356eb0076adfcbd (patch)
tree59cd1047c817bdb9ac92e16d262fe74597c1123f /gui/odr-dabmux-gui.py
parent852665779c24880e97c1a560e8f19a11f2ee28a3 (diff)
downloaddabmux-b6376fb8f1379bebd3241f29e356eb0076adfcbd.tar.gz
dabmux-b6376fb8f1379bebd3241f29e356eb0076adfcbd.tar.bz2
dabmux-b6376fb8f1379bebd3241f29e356eb0076adfcbd.zip
Switch to Jinja2 from SimpleTemplate
Diffstat (limited to 'gui/odr-dabmux-gui.py')
-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 df6b81f..5a35007 100755
--- a/gui/odr-dabmux-gui.py
+++ b/gui/odr-dabmux-gui.py
@@ -29,7 +29,8 @@
from muxconfig import *
from muxrc import *
-from bottle import *
+from bottle import route, run, request, static_file, jinja2_template as template
+import jinja2
import json
import argparse
@@ -167,4 +168,4 @@ if __name__ == '__main__':
paramStr = paramFile.read()
paramObj = json.loads(paramStr)
- run(host=cli_args.host, port=int(cli_args.port), debug=True, reloader=False)
+ run(host=cli_args.host, port=int(cli_args.port), debug=True, reloader=False) \ No newline at end of file