diff libervia/backend/plugins/plugin_xep_0033.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 94e0968987cd
line wrap: on
line diff
--- a/libervia/backend/plugins/plugin_xep_0033.py	Tue Jun 18 12:06:45 2024 +0200
+++ b/libervia/backend/plugins/plugin_xep_0033.py	Wed Jun 19 18:44:57 2024 +0200
@@ -96,9 +96,7 @@
                     log.warning(
                         _("XEP-0033 is being used but the server doesn't support it!")
                     )
-                    raise failure.Failure(
-                        exceptions.CancelError("Cancelled by XEP-0033")
-                    )
+                    raise failure.Failure(exceptions.CancelError("Cancelled by XEP-0033"))
                 if mess_data["to"] not in entities:
                     expected = _(" or ").join([entity.userhost() for entity in entities])
                     log.warning(