aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/console.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2011-03-13 11:43:55 +1300
committerAldo Cortesi <aldo@nullcube.com>2011-03-13 11:43:55 +1300
commit18d25ec1a10c68f9e61e0416a920ca137b3dba68 (patch)
tree24b008a4ebe05dd4c8263dbf082648ac0af09bd8 /libmproxy/console.py
parent0042687f0da202dd33bb799c7bbc51273c4174fa (diff)
downloadmitmproxy-18d25ec1a10c68f9e61e0416a920ca137b3dba68.tar.gz
mitmproxy-18d25ec1a10c68f9e61e0416a920ca137b3dba68.tar.bz2
mitmproxy-18d25ec1a10c68f9e61e0416a920ca137b3dba68.zip
Fix stickycookie setting, indented view traceback.
Diffstat (limited to 'libmproxy/console.py')
-rw-r--r--libmproxy/console.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/libmproxy/console.py b/libmproxy/console.py
index 5636c180..ed073f8a 100644
--- a/libmproxy/console.py
+++ b/libmproxy/console.py
@@ -1256,7 +1256,11 @@ class ConsoleMaster(flow.FlowMaster):
)
k = None
elif k == "t":
- self.prompt("Sticky cookie: ", self.set_stickycookie)
+ self.prompt(
+ "Sticky cookie: ",
+ self.stickycookie_txt,
+ self.set_stickycookie
+ )
k = None
if k:
self.view.keypress(size, k)