Permalink
Browse files

I created a syntax error by missing one spot in which 'reverse(...)' …

…was needed, but still closing the parenthesis. This commit fixes that issue.
  • Loading branch information...
1 parent 7df6276 commit 376f18628a62b5f145131e8ff3d316e335476a08 @mpdaugherty committed Mar 12, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 main.py
View
@@ -59,7 +59,7 @@ def getCurrentPollutantHTML(self, pollutant):
htmlReturnValue += "<div>AQI: <span>"+str(pm2Status.aqi)+"</span>"
htmlReturnValue += '<span class="sparkline">'
- for status in lastDayStatuses):
+ for status in reversed(lastDayStatuses):
htmlReturnValue += str(status.aqi) + ','
# Cut off the last, extra comma and continue
htmlReturnValue = htmlReturnValue[:-1] + '</span>'

0 comments on commit 376f186

Please sign in to comment.