aboutsummaryrefslogtreecommitdiffstats
path: root/torouterui/server.py
diff options
context:
space:
mode:
Diffstat (limited to 'torouterui/server.py')
-rw-r--r--torouterui/server.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/torouterui/server.py b/torouterui/server.py
index 8ae4a3a..3dfb946 100644
--- a/torouterui/server.py
+++ b/torouterui/server.py
@@ -1,8 +1,7 @@
-from torouterui import app
+from torouterui import app, __version__
import argparse
-
def main():
"""Primary entry-point for torouterui.
"""
@@ -27,6 +26,7 @@ def main():
default="uap0",
help="wifi interface (uap0 or wlan0)")
args = parser.parse_args()
+ app.config['TOROUTERVERSION'] = __version__
app.config['LAN_IF'] = args.lanif
app.config['WAN_IF'] = args.wanif
app.config['WIFI_IF'] = args.wifiif