添加新接口

This commit is contained in:
tangshuangpku@hotmail.com 2016-06-07 02:23:55 +08:00
parent 1e677408e9
commit 849575d46f
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ class NotificationMgr:
notifies = NotificationGroups.query.filter_by(group_name=group_name).all()
notifies.extend(NotificationGroups.query.filter_by(group_name='all').all())
notify_ids = [notify.notification_id for notify in notifies]
notify_ids = sorted(list(set(notify_ids)), reversed=True)
notify_ids = sorted(list(set(notify_ids)), reverse=True)
notify_simple_infos = []
for notify_id in notify_ids:
notify = Notification.query.filter_by(id=notify_id).first()