mirror of
https://github.com/vee1e/mitmproxy.git
synced 2026-09-02 18:57:22 +00:00
Py3: Split on byte newlines in pathod.log
This commit is contained in:
parent
22a94f06e6
commit
03ce09ca99
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ class LogCtx(object):
|
|||
for line in strutils.hexdump(data):
|
||||
self("\t%s %s %s" % line)
|
||||
else:
|
||||
for i in strutils.clean_bin(data).split("\n"):
|
||||
for i in strutils.clean_bin(data).split(b"\n"):
|
||||
self("\t%s" % i)
|
||||
|
||||
def __call__(self, line):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue