From af52f887fd4f2b8bf779549e12ae43bafbe59ccc Mon Sep 17 00:00:00 2001 From: oloturia <5429234+oloturia@users.noreply.github.com> Date: Fri, 12 Nov 2021 17:35:30 +0100 Subject: [PATCH] Apparently, logging doesn't support 'encoding' parameter --- damastodon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/damastodon.py b/damastodon.py index 191f9a1..f01642c 100755 --- a/damastodon.py +++ b/damastodon.py @@ -28,7 +28,7 @@ black_knight="⚫ " empty="🟦 " #logging config -logging.basicConfig(filename="/tmp/dama.log",encoding="utf-8",level=logging.DEBUG) +logging.basicConfig(filename="/tmp/dama.log",level=logging.DEBUG) def cleanHTML(raw): cleanText = re.sub(CLEANR, '',raw)