Ver código fonte

Merge pull request #1951 from samueltardieu/push-qpzslmmztzup

fix misindented early return
Peter Bieringer 1 mês atrás
pai
commit
cee2109ff7
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      radicale/hook/email/__init__.py

+ 1 - 1
radicale/hook/email/__init__.py

@@ -988,7 +988,7 @@ class Hook(BaseHook):
                 if event_end < (now - timedelta(minutes=1)):
                 if event_end < (now - timedelta(minutes=1)):
                     logger.warning("Event end time is in the past, skipping notification for event: %s",
                     logger.warning("Event end time is in the past, skipping notification for event: %s",
                                    email_event_event.uid)
                                    email_event_event.uid)
-                return
+                    return
 
 
             if not previous_item_str:
             if not previous_item_str:
                 # Dealing with a completely new event, no previous content to compare against.
                 # Dealing with a completely new event, no previous content to compare against.