diff options
-rw-r--r-- | mitmproxy/addons/view.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mitmproxy/addons/view.py b/mitmproxy/addons/view.py index dd579585..13a17c56 100644 --- a/mitmproxy/addons/view.py +++ b/mitmproxy/addons/view.py @@ -10,7 +10,6 @@ The View: """ import collections import typing -import datetime import blinker import sortedcontainers @@ -69,7 +68,7 @@ class _OrderKey: class OrderRequestStart(_OrderKey): - def generate(self, f: http.HTTPFlow) -> datetime.datetime: + def generate(self, f: http.HTTPFlow) -> int: return f.request.timestamp_start or 0 |