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

This commit is contained in:
Luke Robles 2022-01-30 10:38:15 -08:00
parent 8803bfdce5
commit ca57fa9822

View File

@ -9,7 +9,9 @@ import get_from_reddit
def get_red_panda(): def get_red_panda():
red_panda = None red_panda = None
while not red_panda: 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 return red_panda