Format air temperature and time values in template.
[chrisu/seepark.git] / web / seepark_web.py
index c0fd440d4da1e5f770c954fdb2d7c6ecc4295c29..3ca0b51eb547d7e20a062442633c00409a98d412 100644 (file)
@@ -188,7 +188,6 @@ def data(timespan):
 @app.route("/")
 def index():
     airvalue, airtime     = currentairtemperature(apikey, cityid)
-    airvalue              = "{:.1f}".format(airvalue) if isinstance(airvalue, float) else airvalue
     watervalue, watertime = currentwatertemperature('0316a21383ff') # config? mainwatertemp?
     watervalue            = "{:.1f}".format(watervalue) if isinstance(watervalue, float) else watervalue