summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--synapse/storage/data_stores/main/event_push_actions.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/storage/data_stores/main/event_push_actions.py b/synapse/storage/data_stores/main/event_push_actions.py
index 2b56e1d104..af0ab6cbc1 100644
--- a/synapse/storage/data_stores/main/event_push_actions.py
+++ b/synapse/storage/data_stores/main/event_push_actions.py
@@ -897,7 +897,8 @@ class EventPushActionsStore(EventPushActionsWorkerStore):
             """,
             (
                 (notif_rows[i][2], rows[i][2], rows[i][3], rows[i][0], rows[i][1])
-                for i, _ in enumerate(rows) if rows[i][4] is not None
+                for i, _ in enumerate(rows)
+                if rows[i][4] is not None
             ),
         )