From 660445ece41ea2486553395b7f1b713eb5f4889f Mon Sep 17 00:00:00 2001 From: Joe R Date: Sat, 20 Nov 2021 11:05:38 -0500 Subject: [PATCH] Fix for error when saving logs. --- pysollib/stats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pysollib/stats.py b/pysollib/stats.py index 069a9c05..a50a4900 100644 --- a/pysollib/stats.py +++ b/pysollib/stats.py @@ -172,7 +172,7 @@ class FileStatsFormatter(PysolStatsFormatter): self.file = file def p(self, s): - self.file.write(s.encode('utf-8')) + self.file.write(s) def nl(self, count=1): self.p("\n" * count)