diff options
author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2016-08-14 12:43:18 +0200 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2016-08-14 12:43:18 +0200 |
commit | 65677bdd284ef71184185671f4ae0b3713b5a3de (patch) | |
tree | 3e72f2eff1c619e382cf0062dcd1448c2e998251 | |
parent | b39c6e08832cecedc95047b00280c2240461f83b (diff) | |
download | mitmproxy-65677bdd284ef71184185671f4ae0b3713b5a3de.tar.gz mitmproxy-65677bdd284ef71184185671f4ae0b3713b5a3de.tar.bz2 mitmproxy-65677bdd284ef71184185671f4ae0b3713b5a3de.zip |
style fixes
-rw-r--r-- | mitmproxy/web/app.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mitmproxy/web/app.py b/mitmproxy/web/app.py index 20b17242..23946cd2 100644 --- a/mitmproxy/web/app.py +++ b/mitmproxy/web/app.py @@ -20,7 +20,6 @@ from mitmproxy import contentviews from netlib import version - def convert_flow_to_json_dict(flow): # type: (models.Flow) -> dict """ @@ -340,6 +339,7 @@ class FlowContent(RequestHandler): self.set_header("X-Frame-Options", "DENY") self.write(message.raw_content) + class FlowContentView(RequestHandler): def get(self, flow_id, message, content_view): @@ -352,8 +352,8 @@ class FlowContentView(RequestHandler): # add event log self.write(dict( - lines=list(lines), - description=description + lines=list(lines), + description=description )) |