change calendar style
@@ -110,7 +110,8 @@ class CalendarHandler(tornado.web.RequestHandler):
for i, k in enumerate(range(weekday, weekday + 7)):
if k % 7 in bangumi:
event = Event()
- v = bangumi[k % 7]
+ # v = bangumi[k % 7]
+ for v in bangumi[k % 7]:
event.add('summary', ', '.join(v))
event.add('dtstart', datetime.datetime.now().date() + datetime.timedelta(i))
event.add('dtend', datetime.datetime.now().date() + datetime.timedelta(i))
