Skip to content
This repository has been archived by the owner on Jan 18, 2025. It is now read-only.

Commit

Permalink
chore: change is None to not check
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinNitroG committed Jan 15, 2025
1 parent 8bab5e1 commit 8d91f99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/check_phat_nguoi/notify/send_notifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ async def _send_messages(self, notification_config: BaseNotificationConfig) -> N
)

async def send(self) -> None:
if config.notifications is None:
if not config.notifications:
logger.debug("No notification was given. Skip notifying")
return
self._plate_messages = tuple(
Expand Down

0 comments on commit 8d91f99

Please sign in to comment.