code style changed

This commit is contained in:
venusbb
2017-09-15 15:00:13 +01:00
parent 478858a1b3
commit 13c78d9b9d
2 changed files with 8 additions and 5 deletions

View File

@@ -367,7 +367,8 @@ def dao_fetch_todays_stats_for_all_services(include_from_test_key=True, trial_mo
Notification.status,
Notification.service_id,
func.count(Notification.id).label('count')
).join(Service
).join(
Service
).filter(
func.date(Notification.created_at) == date.today(),
Service.restricted == trial_mode_services