mirror of
https://gitlab.com/chicken-riders/RcGcDb.git
synced 2025-02-23 00:54:09 +00:00
encoding for hal+json
This commit is contained in:
parent
36c6e379b2
commit
321e7ffedb
|
@ -148,7 +148,7 @@ async def wiki_scanner():
|
||||||
logger.error("Exeption when fetching the wiki")
|
logger.error("Exeption when fetching the wiki")
|
||||||
continue # ignore this wiki if it throws errors
|
continue # ignore this wiki if it throws errors
|
||||||
try:
|
try:
|
||||||
discussion_feed_resp = await feeds_response.json()
|
discussion_feed_resp = await feeds_response.json(encoding="UTF-8")
|
||||||
if "title" in discussion_feed_resp:
|
if "title" in discussion_feed_resp:
|
||||||
error = discussion_feed_resp["error"]
|
error = discussion_feed_resp["error"]
|
||||||
if error == "site doesn't exists":
|
if error == "site doesn't exists":
|
||||||
|
|
Loading…
Reference in a new issue