diff options
author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2016-01-27 10:12:18 +0100 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2016-01-27 10:36:28 +0100 |
commit | 8c375383148f100f03aed52827ac513f145078c2 (patch) | |
tree | dbae3b5d4d603e5e226477f1938119e2acfcfc1f /libmproxy/console/flowview.py | |
parent | c2bb29f669cd80509f4efe205551a9cf5fc29770 (diff) | |
download | mitmproxy-8c375383148f100f03aed52827ac513f145078c2.tar.gz mitmproxy-8c375383148f100f03aed52827ac513f145078c2.tar.bz2 mitmproxy-8c375383148f100f03aed52827ac513f145078c2.zip |
code formatting: fix whitespace issues
Diffstat (limited to 'libmproxy/console/flowview.py')
-rw-r--r-- | libmproxy/console/flowview.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libmproxy/console/flowview.py b/libmproxy/console/flowview.py index 7962c69c..8102de55 100644 --- a/libmproxy/console/flowview.py +++ b/libmproxy/console/flowview.py @@ -96,6 +96,7 @@ footer = [ class FlowViewHeader(urwid.WidgetWrap): + def __init__(self, master, f): self.master, self.flow = master, f self._w = common.format_flow( @@ -218,7 +219,7 @@ class FlowView(tabs.Tabs): txt = [] for (style, text) in line: if total_chars + len(text) > max_chars: - text = text[:max_chars-total_chars] + text = text[:max_chars - total_chars] txt.append((style, text)) total_chars += len(text) if total_chars == max_chars: |