From 321e7ffedb06a1dbd2b4a3859c4b90be77f2a2e3 Mon Sep 17 00:00:00 2001 From: Markus-Rost Date: Sun, 2 Aug 2020 23:55:35 +0200 Subject: [PATCH] encoding for hal+json --- src/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bot.py b/src/bot.py index 2809711..2d2f205 100644 --- a/src/bot.py +++ b/src/bot.py @@ -148,7 +148,7 @@ async def wiki_scanner(): logger.error("Exeption when fetching the wiki") continue # ignore this wiki if it throws errors try: - discussion_feed_resp = await feeds_response.json() + discussion_feed_resp = await feeds_response.json(encoding="UTF-8") if "title" in discussion_feed_resp: error = discussion_feed_resp["error"] if error == "site doesn't exists":