diff options
Diffstat (limited to 'mitmproxy/console/__init__.py')
-rw-r--r-- | mitmproxy/console/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mitmproxy/console/__init__.py b/mitmproxy/console/__init__.py index e75aed86..1dd032be 100644 --- a/mitmproxy/console/__init__.py +++ b/mitmproxy/console/__init__.py @@ -58,7 +58,7 @@ class ConsoleState(flow.State): return f def set_limit(self, limit): - ret = flow.State.set_limit(self, limit) + ret = super(ConsoleState, self).set_limit(limit) self.set_focus(self.focus) return ret @@ -102,7 +102,7 @@ class ConsoleState(flow.State): self.focus -= 1 if self.focus < 0: self.focus = None - ret = flow.State.delete_flow(self, f) + ret = super(ConsoleState, self).delete_flow(f) self.set_focus(self.focus) return ret |