Selaa lähdekoodia

fixed error with nsfw cog commands not handling an exception properly

tags/v2.1.0
Roxie Gibson 5 vuotta sitten
vanhempi
commit
06af003863
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      roxbot/utils.py

+ 1
- 1
roxbot/utils.py Näytä tiedosto

@@ -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

Loading…
Peruuta
Tallenna