aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/console/grideditor.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2015-03-22 13:59:34 +1300
committerAldo Cortesi <aldo@nullcube.com>2015-03-22 13:59:34 +1300
commit572000aa039a789ba35d4ef14e0c096256d6997d (patch)
tree90d03ed03b10fc27a421523a146dc54087247c38 /libmproxy/console/grideditor.py
parent3bf4feb213adf2b9829cd5452ca365e4be7ca10c (diff)
downloadmitmproxy-572000aa039a789ba35d4ef14e0c096256d6997d.tar.gz
mitmproxy-572000aa039a789ba35d4ef14e0c096256d6997d.tar.bz2
mitmproxy-572000aa039a789ba35d4ef14e0c096256d6997d.zip
Rationalise prompt calling conventions
Diffstat (limited to 'libmproxy/console/grideditor.py')
-rw-r--r--libmproxy/console/grideditor.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/libmproxy/console/grideditor.py b/libmproxy/console/grideditor.py
index eb66e59e..e7c9854b 100644
--- a/libmproxy/console/grideditor.py
+++ b/libmproxy/console/grideditor.py
@@ -338,17 +338,17 @@ class GridEditor(urwid.WidgetWrap):
self.walker.delete_focus()
elif key == "r":
if self.walker.get_current_value() is not None:
- signals.status_path_prompt.send(
+ signals.status_prompt_path.send(
self,
- prompt = "Read file: ",
+ prompt = "Read file",
text = "",
callback = self.read_file
)
elif key == "R":
if self.walker.get_current_value() is not None:
- signals.status_path_prompt.send(
+ signals.status_prompt_path.send(
self,
- prompt = "Read unescaped file: ",
+ prompt = "Read unescaped file",
text = "",
callback = self.read_file,
args = (True,)