فهرست منبع

Merge pull request #1951 from samueltardieu/push-qpzslmmztzup

fix misindented early return
Peter Bieringer 1 ماه پیش
والد
کامیت
cee2109ff7
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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)):
                     logger.warning("Event end time is in the past, skipping notification for event: %s",
                                    email_event_event.uid)
-                return
+                    return
 
             if not previous_item_str:
                 # Dealing with a completely new event, no previous content to compare against.