buggy code is painful
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2022-07-31 20:20:20 +02:00
parent 237205df26
commit 1bed5ed592

View File

@ -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)