diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2015-03-22 14:14:44 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2015-03-22 14:14:44 +1300 |
commit | 200498e7aa57effd7158c8d735f95c6556203a07 (patch) | |
tree | db269287eae254461af3911362a665e3d1e9efa4 /libmproxy/console/flowview.py | |
parent | 572000aa039a789ba35d4ef14e0c096256d6997d (diff) | |
download | mitmproxy-200498e7aa57effd7158c8d735f95c6556203a07.tar.gz mitmproxy-200498e7aa57effd7158c8d735f95c6556203a07.tar.bz2 mitmproxy-200498e7aa57effd7158c8d735f95c6556203a07.zip |
Simplify the way in which path prompts keep state
In the past, we kept the last path the user specified for a number of different
path types to pre-seed the path prompt. Now, we no longer distinguish between
types, and pre-seed with the last used directory regardless.
Diffstat (limited to 'libmproxy/console/flowview.py')
-rw-r--r-- | libmproxy/console/flowview.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libmproxy/console/flowview.py b/libmproxy/console/flowview.py index b9d5fbca..d63b8a8c 100644 --- a/libmproxy/console/flowview.py +++ b/libmproxy/console/flowview.py @@ -771,7 +771,6 @@ class FlowView(urwid.WidgetWrap): elif key == "W": signals.status_prompt_path.send( prompt = "Save this flow", - text = self.state.last_saveload, callback = self.master.save_one_flow, args = (self.flow,) ) @@ -786,7 +785,6 @@ class FlowView(urwid.WidgetWrap): elif key == "|": signals.status_prompt_path.send( prompt = "Send flow to script", - text = self.state.last_script, callback = self.master.run_script_once, args = (self.flow,) ) |