diff options
author | madt1m <blackjuniper@protonmail.com> | 2018-06-13 15:19:15 +0200 |
---|---|---|
committer | madt1m <blackjuniper@protonmail.com> | 2018-06-13 15:19:15 +0200 |
commit | da2365db4e4e718e1194742d9b1dceb94abf7729 (patch) | |
tree | c5679e1cb3e1559b71796c0d5e5335117f2f8041 | |
parent | ea4ef15ebfd403dd9df9742a35ff5cc494da68a7 (diff) | |
download | mitmproxy-da2365db4e4e718e1194742d9b1dceb94abf7729.tar.gz mitmproxy-da2365db4e4e718e1194742d9b1dceb94abf7729.tar.bz2 mitmproxy-da2365db4e4e718e1194742d9b1dceb94abf7729.zip |
fixed linting errors
-rw-r--r-- | mitmproxy/addons/view.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mitmproxy/addons/view.py b/mitmproxy/addons/view.py index da47fbe8..6c771d96 100644 --- a/mitmproxy/addons/view.py +++ b/mitmproxy/addons/view.py @@ -284,9 +284,11 @@ class View(collections.Sequence): """ Returns the current view order. """ + order = "" for k in self.orders.keys(): if self.order_key == self.orders[k]: - return k + order = k + return order # Filter @command.command("view.filter.set") |