mirror of
https://github.com/Akkudoktor-EOS/EOS.git
synced 2025-04-19 08:55:15 +00:00
Gesamtlast Bug
This commit is contained in:
parent
992d1b085e
commit
c16faec6fe
@ -169,7 +169,7 @@ def flask_gesamtlast():
|
|||||||
|
|
||||||
|
|
||||||
@app.route('/gesamtlast_simple', methods=['GET'])
|
@app.route('/gesamtlast_simple', methods=['GET'])
|
||||||
def flask_gesamtlast():
|
def flask_gesamtlast_simple():
|
||||||
if request.method == 'GET':
|
if request.method == 'GET':
|
||||||
year_energy = float(request.args.get("year_energy"))
|
year_energy = float(request.args.get("year_energy"))
|
||||||
date_now,date = get_start_enddate(prediction_hours,startdate=datetime.now().date())
|
date_now,date = get_start_enddate(prediction_hours,startdate=datetime.now().date())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user