From dde07e10092a22fdfe691f04e16778755193dc54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20Torma?= Date: Sun, 31 Jul 2022 20:22:50 +0200 Subject: [PATCH] fuck me --- api/hanyadikhetvan/__init__.py | 2 -- api/requirements.txt | 1 - 2 files changed, 3 deletions(-) diff --git a/api/hanyadikhetvan/__init__.py b/api/hanyadikhetvan/__init__.py index c9f05e5..ebf4139 100644 --- a/api/hanyadikhetvan/__init__.py +++ b/api/hanyadikhetvan/__init__.py @@ -2,13 +2,11 @@ from math import floor from datetime import date from urllib import request import azure.functions as func -import requests def main(req: func.HttpRequest) -> func.HttpResponse: startdate = date(2022, 8, 29) currentweek = floor((date.today() - startdate).days / 7) - requests.get("https://tormakristof.eu/") return func.HttpResponse( str(currentweek), status_code=200) diff --git a/api/requirements.txt b/api/requirements.txt index ce86af0..75db2c4 100644 --- a/api/requirements.txt +++ b/api/requirements.txt @@ -1,2 +1 @@ azure-functions -requests \ No newline at end of file