aboutsummaryrefslogtreecommitdiffstats
path: root/packages/torouter-web/src/tui/models
diff options
context:
space:
mode:
Diffstat (limited to 'packages/torouter-web/src/tui/models')
-rw-r--r--packages/torouter-web/src/tui/models/router_config.py19
1 files changed, 0 insertions, 19 deletions
diff --git a/packages/torouter-web/src/tui/models/router_config.py b/packages/torouter-web/src/tui/models/router_config.py
deleted file mode 100644
index a9bd975..0000000
--- a/packages/torouter-web/src/tui/models/router_config.py
+++ /dev/null
@@ -1,19 +0,0 @@
-import web
-from tui.config import db
-
-def new_config(conf):
- db.insert('router_config',
- essid=conf['essid'],
- field1=conf['field1'],
- field2=conf['field2']
- )
-
-
-def write_config():
- db.update('router_config',
- essid=conf['essid'],
- field1=conf['field1'],
- field2=conf['field2']
- )
-
-