aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/console/statusbar.py
diff options
context:
space:
mode:
Diffstat (limited to 'libmproxy/console/statusbar.py')
-rw-r--r--libmproxy/console/statusbar.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/libmproxy/console/statusbar.py b/libmproxy/console/statusbar.py
index 5455ad6e..37ceef94 100644
--- a/libmproxy/console/statusbar.py
+++ b/libmproxy/console/statusbar.py
@@ -1,8 +1,8 @@
-import time
import os.path
import urwid
+import netlib.utils
from . import pathedit, signals, common
from .. import utils
@@ -22,7 +22,6 @@ class ActionBar(urwid.WidgetWrap):
self.onekey = False
self.pathprompt = False
-
def sig_message(self, sender, message, expire=None):
w = urwid.Text(message)
self._w = w
@@ -191,7 +190,7 @@ class StatusBar(urwid.WidgetWrap):
opts.append("following")
if self.master.stream_large_bodies:
opts.append(
- "stream:%s" % utils.pretty_size(
+ "stream:%s" % netlib.utils.pretty_size(
self.master.stream_large_bodies.max_size
)
)