Browse files

Merge pull request #6 from oau/dateorderfix

sort report by date, closes #5
  • Loading branch information...
2 parents 02f5cb8 + 26602fb commit c40ebe25c139ed62888b3652688afad7aea5e5a3 @olleolleolle olleolleolle committed Nov 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 mugshots.py
View
2 mugshots.py
@@ -139,7 +139,7 @@ def get_circles():
dates_this_month = db.smembers("meetups:%s" % chosen_month)
circles_this_month = db.smembers("circles:%s" % chosen_month)
- for iso_day in dates_this_month:
+ for iso_day in sorted(dates_this_month):
day = {'date': iso_day, 'circles': []}
for circle_name in circles_this_month:
circle = {'name': circle_name, 'attendees': []}

0 comments on commit c40ebe2

Please sign in to comment.