Przeglądaj źródła

fixed error with nsfw cog commands not handling an exception properly

tags/v2.1.0
Roxie Gibson 5 lat temu
rodzic
commit
06af003863
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      roxbot/utils.py

+ 1
- 1
roxbot/utils.py Wyświetl plik

@@ -207,7 +207,7 @@ async def danbooru_clone_api_req(channel, base_url, endpoint_url, cache=None, ta

posts = await http.api_request(url)

if posts is None:
if not posts:
return None

post = None

Ładowanie…
Anuluj
Zapisz