This commit is contained in:
2024-09-13 01:56:28 +02:00
parent 3f9b0fc1f5
commit c7e9d5de5a
2 changed files with 8 additions and 6 deletions

View File

@ -27,7 +27,7 @@ def update():
@app.route("/", methods = ['GET'])
def normal():
print(values.split(" "))
return render_template('home.html', dates = wrap(values, 10))
return render_template('home.html', dates = wrap(values, 10), total = len(values.split(' ')), days = values.split(' ')[-1])
if __name__ == '__main__':
app.run(host='0.0.0.0', port=5000, debug=1)