1
0
Fork 0
mirror of https://gitlab.com/oloturia/damastodon.git synced 2025-01-06 21:47:15 +01:00

Apparently, logging doesn't support 'encoding' parameter

This commit is contained in:
oloturia 2021-11-12 17:35:30 +01:00
parent f186172254
commit af52f887fd

View file

@ -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)