mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 18:18:25 +00:00
Merge pull request #1457 from mkagenius/interger_division
integer division for python 3 compatibility
This commit is contained in:
commit
8136a2f6f3
@ -379,7 +379,7 @@ def raw_format_flow(f, focus, extended):
|
|||||||
4: "code_400",
|
4: "code_400",
|
||||||
5: "code_500",
|
5: "code_500",
|
||||||
}
|
}
|
||||||
ccol = codes.get(f["resp_code"] / 100, "code_other")
|
ccol = codes.get(f["resp_code"] // 100, "code_other")
|
||||||
resp.append(fcol(SYMBOL_RETURN, ccol))
|
resp.append(fcol(SYMBOL_RETURN, ccol))
|
||||||
if f["resp_is_replay"]:
|
if f["resp_is_replay"]:
|
||||||
resp.append(fcol(SYMBOL_REPLAY, "replay"))
|
resp.append(fcol(SYMBOL_REPLAY, "replay"))
|
||||||
|
Loading…
Reference in New Issue
Block a user