Fix codestyle

This commit is contained in:
Rebecca Law
2017-10-30 16:51:27 +00:00
parent b1b231ba90
commit d671adc1eb

View File

@@ -390,7 +390,6 @@ def delete_notifications_created_more_than_a_week_ago_by_type(notification_type)
notification_sender_mapping_table.notification_id.in_(subq)
).delete(synchronize_session='fetch')
deleted = db.session.query(Notification).filter(
func.date(Notification.created_at) < seven_days_ago,
Notification.notification_type == notification_type,