formatting animals.py so that the CI/cd pipeline passes
This commit is contained in:
parent
8803bfdce5
commit
ca57fa9822
@ -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
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user