Compare commits
No commits in common. "12a14f1a26b520f93324c919a83635fc4c9674ad" and "aae5967096052ceefa0b935f2bd7bf87074e3a3a" have entirely different histories.
12a14f1a26
...
aae5967096
1 changed files with 1 additions and 6 deletions
7
fetch.py
7
fetch.py
|
@ -1,8 +1,3 @@
|
|||
import requests
|
||||
|
||||
def fetchQuote(quoteId):
|
||||
quote = requests.get("https://quotes.everypizza.im/image/" + quoteId)
|
||||
if quote.status_code == 200:
|
||||
return quote.content
|
||||
else:
|
||||
return None
|
||||
def fetchQuote()
|
||||
|
|
Loading…
Add table
Reference in a new issue