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:
parent
f186172254
commit
af52f887fd
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue