We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 142f333 commit 4f29ec5Copy full SHA for 4f29ec5
1 file changed
modules/api.py
@@ -1006,10 +1006,10 @@ async def update_game():
1006
if changed_host:
1007
continue
1008
if not isinstance(exc.os_error, socket.gaierror):
1009
- raise # Not a dead link
+ raise # Not a dead host
1010
if is_f95zone_url(image_url):
1011
raise # Not a foreign host, raise normal connection error message
1012
- if check_host(f95_domain) and not check_host(get_url_domain(image_url)):
+ if (await check_host(f95_domain)) and not (await check_host(get_url_domain(image_url))):
1013
# Link is actually dead
1014
thread["image_url"] = "dead"
1015
res = b""
0 commit comments