diff --git a/pathod/log.py b/pathod/log.py index 1d3ec3565..23e9a2ce5 100644 --- a/pathod/log.py +++ b/pathod/log.py @@ -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):