aboutsummaryrefslogtreecommitdiffstats
path: root/packages/torouter-web/src/tui/models
diff options
context:
space:
mode:
authorficus <ficus@robocracy.org>2012-10-02 16:44:03 +0200
committerficus <ficus@robocracy.org>2012-10-02 16:44:03 +0200
commitfcf6a8630b7ae818e7719d6e811d01d9359388c3 (patch)
tree81610e80263e0f326f300b1bc7ea4264df9f29ab /packages/torouter-web/src/tui/models
parent7dcf9aa0db8585eb3489bcf0903e67bdd9dee027 (diff)
downloadtorouter-fcf6a8630b7ae818e7719d6e811d01d9359388c3.tar.gz
torouter-fcf6a8630b7ae818e7719d6e811d01d9359388c3.zip
remove unused told TUI
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']
- )
-
-