From 1c9ab2f097c7377f74ce589f1bfc9ee96fcf0690 Mon Sep 17 00:00:00 2001 From: Lorenzo Di Fuccia Date: Fri, 14 Jun 2019 07:39:45 +0200 Subject: [PATCH] Fix #99 --- safaribooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/safaribooks.py b/safaribooks.py index 31634db..d66730b 100644 --- a/safaribooks.py +++ b/safaribooks.py @@ -70,7 +70,7 @@ class Display: self.logger.info(str(message)) # TODO: "utf-8", "replace" def out(self, put): - sys.stdout.write("\r" + " " * self.columns + "\r" + str(put) + "\n") # TODO: "utf-8", "replace" + sys.stdout.write("\r" + " " * self.columns + "\r" + str(put, "utf-8", "replace") + "\n") def info(self, message, state=False): self.log(message)