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