aboutsummaryrefslogtreecommitdiffstats
path: root/pathod/log.py
diff options
context:
space:
mode:
Diffstat (limited to 'pathod/log.py')
-rw-r--r--pathod/log.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pathod/log.py b/pathod/log.py
index 4e5f355f..f7a7fc98 100644
--- a/pathod/log.py
+++ b/pathod/log.py
@@ -61,7 +61,7 @@ class LogCtx:
for line in strutils.hexdump(data):
self("\t%s %s %s" % line)
else:
- data = strutils.native(
+ data = strutils.always_str(
strutils.escape_control_characters(
data
.decode("ascii", "replace")