diff libervia/backend/plugins/plugin_misc_watched.py @ 4270:0d7bb4df2343

Reformatted code base using black.
author Goffi <goffi@goffi.org>
date Wed, 19 Jun 2024 18:44:57 +0200
parents 4b842c1fb686
children
line wrap: on
line diff
--- a/libervia/backend/plugins/plugin_misc_watched.py	Tue Jun 18 12:06:45 2024 +0200
+++ b/libervia/backend/plugins/plugin_misc_watched.py	Wed Jun 19 18:44:57 2024 +0200
@@ -70,14 +70,14 @@
 
         # we check that the previous presence was unavailable (no notification else)
         try:
-            old_show = self.host.memory.get_entity_datum(
-                client, entity, "presence").show
+            old_show = self.host.memory.get_entity_datum(client, entity, "presence").show
         except (KeyError, exceptions.UnknownEntityError):
             old_show = C.PRESENCE_UNAVAILABLE
 
         if old_show == C.PRESENCE_UNAVAILABLE:
             watched = self.host.memory.param_get_a(
-                NAME, CATEGORY, profile_key=client.profile)
+                NAME, CATEGORY, profile_key=client.profile
+            )
             if entity in watched or entity.userhostJID() in watched:
                 self.host.action_new(
                     {