add error image
This commit is contained in:
parent
2b3409f9f3
commit
87cc4999dc
2 changed files with 1 additions and 1 deletions
BIN
error.png
Normal file
BIN
error.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
2
fetch.py
2
fetch.py
|
@ -17,7 +17,7 @@ def fetchQuote(quoteId):
|
|||
return filename
|
||||
else:
|
||||
print(f"An error occured while saving the file: {quote.status_code}")
|
||||
return None
|
||||
return "error.png"
|
||||
|
||||
def fetchQuoteData(quoteId):
|
||||
processedId = str(config['imag']['server'] + "/api/image/" + str(quoteId))
|
||||
|
|
Loading…
Add table
Reference in a new issue