aboutsummaryrefslogtreecommitdiffstats
path: root/libpathod/app.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2012-06-24 11:14:54 +1200
committerAldo Cortesi <aldo@nullcube.com>2012-06-24 11:14:54 +1200
commitb71e2f6f2bbc3ecaa1e463bae0cc6fd4762c6b8a (patch)
treee5b400bc97a21415074d695cec7880ffc48a007e /libpathod/app.py
parent6d0b49dfef9c3a047127de5f56660da49f3e65af (diff)
downloadmitmproxy-b71e2f6f2bbc3ecaa1e463bae0cc6fd4762c6b8a.tar.gz
mitmproxy-b71e2f6f2bbc3ecaa1e463bae0cc6fd4762c6b8a.tar.bz2
mitmproxy-b71e2f6f2bbc3ecaa1e463bae0cc6fd4762c6b8a.zip
More doc refinement.
Diffstat (limited to 'libpathod/app.py')
-rw-r--r--libpathod/app.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/libpathod/app.py b/libpathod/app.py
index f7c30772..406325a1 100644
--- a/libpathod/app.py
+++ b/libpathod/app.py
@@ -15,13 +15,13 @@ def api_info():
@app.route('/api/log')
def api_log():
return jsonify(
- log = app.config["pathod"].get_log()
+ log = app.config["pathod"].get_log()
)
@app.route('/api/clear_log')
def api_clear_log():
- app.config["pathod"].clear_log()
+ app.config["pathod"].clear_log()
return "OK"
@@ -34,12 +34,12 @@ def index():
@app.route('/help')
def help():
return render_template("help.html", section="help")
-
+
@app.route('/log')
def log():
return render_template("log.html", section="log", log=app.config["pathod"].get_log())
-
+
@app.route('/log/<int:lid>')
def onelog(lid):