From 1bed5ed5920034dfd87478a30100135c60c63203 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20Torma?= Date: Sun, 31 Jul 2022 20:20:20 +0200 Subject: [PATCH] buggy code is painful --- api/hanyadikhetvan/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/hanyadikhetvan/__init__.py b/api/hanyadikhetvan/__init__.py index 2e6dd59..c9f05e5 100644 --- a/api/hanyadikhetvan/__init__.py +++ b/api/hanyadikhetvan/__init__.py @@ -8,7 +8,7 @@ import requests def main(req: func.HttpRequest) -> func.HttpResponse: startdate = date(2022, 8, 29) currentweek = floor((date.today() - startdate).days / 7) - request.get("https://tormakristof.eu/") + requests.get("https://tormakristof.eu/") return func.HttpResponse( str(currentweek), status_code=200)