fix python3 bug
map doesn't return a list in python3
@@ -183,7 +183,7 @@ class MainHandler(BaseHandler):
data = Followed.get_all_followed(STATUS_NORMAL, STATUS_UPDATING,
order='followed.updated_time', desc=True)
- followed = map(lambda b: b['bangumi_name'], data)
+ followed = list(map(lambda b: b['bangumi_name'], data))
followed.extend(list(map(lambda b: b['bangumi_name'], self.patch_list)))
data = Followed.get_all_followed(STATUS_NORMAL, STATUS_UPDATING if not is_old else STATUS_END,
