Merge pull request #1951 from samueltardieu/push-qpzslmmztzup
fix misindented early return
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user