formatting animals.py so that the CI/cd pipeline passes

This commit is contained in:
ein 2022-01-30 10:38:15 -08:00
parent d56adeccd0
commit 288e9d210b

View File

@ -9,7 +9,9 @@ import get_from_reddit
def get_red_panda():
red_panda = None
while not red_panda:
red_panda = requests.get("https://some-random-api.ml/img/red_panda").json()["link"]
red_panda = requests.get("https://some-random-api.ml/img/red_panda").json()[
"link"
]
return red_panda