diff --git a/pi_temp.py b/pi_temp.py index cd3db19..3ec8f7c 100755 --- a/pi_temp.py +++ b/pi_temp.py @@ -64,7 +64,7 @@ def lab_temp(): return render_template("no_sensor.html") @app.route("/history", methods=['GET']) #Add date limits in the URL #Arguments: from=2015-03-04&to=2015-03-05 -def pi_temp_db(): +def history(): temperatures, humidities, timezone, from_date_str, to_date_str = get_records() # Create new record tables so that datetimes are adjusted back to the user browser's time zone. diff --git a/templates/history.html b/templates/history.html index 6cb7e04..946bc2a 100755 --- a/templates/history.html +++ b/templates/history.html @@ -24,7 +24,7 @@
-
+