Commit c60c9d65 authored by Kristian Tan's avatar Kristian Tan

Change kWh styling

parent 55ee2c49
......@@ -140,7 +140,7 @@ def toggle_pin(change_pin):
@app.route('/handle_change_kWh', methods=['POST'])
def handle_data():
def handle_change_kWh():
new_price = request.form['kWhprice']
os.environ['cost_per_kWh'] = str(new_price)
template_data = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment