diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2016-10-22 15:06:24 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2016-10-22 15:06:24 +1300 |
commit | 9fc1547053e629a630e60abe604c77fdab516aa7 (patch) | |
tree | 63d5250b05dcb83f024698d29dd970ef11b155a2 | |
parent | 477f8868ad4859f871ee0ed193ae2dc03a67a323 (diff) | |
download | mitmproxy-9fc1547053e629a630e60abe604c77fdab516aa7.tar.gz mitmproxy-9fc1547053e629a630e60abe604c77fdab516aa7.tar.bz2 mitmproxy-9fc1547053e629a630e60abe604c77fdab516aa7.zip |
console: give statusbar messages a default timeout
-rw-r--r-- | mitmproxy/tools/console/statusbar.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mitmproxy/tools/console/statusbar.py b/mitmproxy/tools/console/statusbar.py index 74382677..68b92703 100644 --- a/mitmproxy/tools/console/statusbar.py +++ b/mitmproxy/tools/console/statusbar.py @@ -25,7 +25,7 @@ class ActionBar(urwid.WidgetWrap): self.onekey = False self.pathprompt = False - def sig_message(self, sender, message, expire=None): + def sig_message(self, sender, message, expire=1): if self.prompting: return w = urwid.Text(message) |