forked from n/quotes-bot-python
oh that's what the problem was 🤦♀️
This commit is contained in:
parent
dbbafca7ac
commit
4b8d8adc84
1 changed files with 3 additions and 1 deletions
4
fetch.py
4
fetch.py
|
@ -7,7 +7,9 @@ with open('config.json', 'r') as f:
|
|||
def fetchQuote(quoteId):
|
||||
processedId = str(config['imag']['server'] + quoteId)
|
||||
# quote = requests.get(processedId)
|
||||
if quote.status_code == 200:
|
||||
#temporary
|
||||
code = 200
|
||||
if code == 200:
|
||||
# return quote.content
|
||||
return processedId
|
||||
print(processedId)
|
||||
|
|
Loading…
Add table
Reference in a new issue