From 4b8d8adc848060272087513a9e71939595cc9e83 Mon Sep 17 00:00:00 2001 From: n Date: Fri, 31 Jan 2025 19:20:45 -0600 Subject: [PATCH] oh that's what the problem was :woman_facepalming: --- fetch.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fetch.py b/fetch.py index 134e7e4..a1133ac 100644 --- a/fetch.py +++ b/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)