aboutsummaryrefslogtreecommitdiffstats
path: root/packages/torouter-web/tui/controllers/tor.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages/torouter-web/tui/controllers/tor.py')
-rw-r--r--packages/torouter-web/tui/controllers/tor.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/torouter-web/tui/controllers/tor.py b/packages/torouter-web/tui/controllers/tor.py
index ca96209..d07cb71 100644
--- a/packages/torouter-web/tui/controllers/tor.py
+++ b/packages/torouter-web/tui/controllers/tor.py
@@ -17,9 +17,13 @@ class status:
Tor configuration page
"""
class config:
+ def update_config(self, data):
+ return True
+
def GET(self):
return render.base(render.torconfig())
def POST(self):
+ self.update_config(web.input())
return render.base(render.torconfig())