Work through most of the cspell warnings in python (#13794)

This commit is contained in:
gtsiam
2024-09-17 10:41:46 -05:00
committed by GitHub
parent 350abda21a
commit edababa88e
20 changed files with 208 additions and 66 deletions
+3 -3
View File
@@ -106,10 +106,10 @@ class WebPushClient(Communicator): # type: ignore[misc]
def publish(self, topic: str, payload: Any, retain: bool = False) -> None:
"""Wrapper for publishing when client is in valid state."""
# check for updated notification config
_, updated_notif_config = self.config_subscriber.check_for_update()
_, updated_notification_config = self.config_subscriber.check_for_update()
if updated_notif_config:
self.config.notifications = updated_notif_config
if updated_notification_config:
self.config.notifications = updated_notification_config
if not self.config.notifications.enabled:
return