Permalink
Browse files

Including the time of the most recent update for each pollutant.

  • Loading branch information...
1 parent 7a678fa commit 51a4144d537db6cc3981ae9ccbdd507042994492 @mpdaugherty committed Mar 12, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 main.py
View
2 main.py
@@ -30,7 +30,7 @@ def getCurrentPollutantHTML(self, pollutant):
pm2Query.filter("type = ", pollutant)
pm2Status = pm2Query.get()
- htmlReturnValue = "<h2>"+pollutant+"</h2><div><em>"+pm2Status.description+"</em></div>"
+ htmlReturnValue = "<h2>"+pollutant+" - "+str(pm2Status.date)+"</h2><div><em>"+pm2Status.description+"</em></div>"
htmlReturnValue += "<div>Concentration: <span>"+str(pm2Status.concentration)+"</span></div>"
htmlReturnValue += "<div>AQI: <span>"+str(pm2Status.aqi)+"</span></div>"

0 comments on commit 51a4144

Please sign in to comment.