fuck me
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2022-07-31 20:22:50 +02:00
parent 1bed5ed592
commit dde07e1009
2 changed files with 0 additions and 3 deletions

View File

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

View File

@ -1,2 +1 @@
azure-functions
requests