From 12a14f1a26b520f93324c919a83635fc4c9674ad Mon Sep 17 00:00:00 2001 From: n Date: Fri, 31 Jan 2025 18:58:45 -0600 Subject: [PATCH] fix --- fetch.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fetch.py b/fetch.py index 54363d5..fc282e0 100644 --- a/fetch.py +++ b/fetch.py @@ -2,7 +2,7 @@ import requests def fetchQuote(quoteId): quote = requests.get("https://quotes.everypizza.im/image/" + quoteId) - if response.status_code == 200: - return response.content + if quote.status_code == 200: + return quote.content else: return None