From f85d3c952b546d4cd3626565fa30877415d4cf65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Wed, 4 Oct 2023 21:50:24 +0200 Subject: cfix: Fix indentation --- nbxmpp/structs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nbxmpp/structs.py b/nbxmpp/structs.py index c71f046..fa6d00d 100644 --- a/nbxmpp/structs.py +++ b/nbxmpp/structs.py @@ -653,8 +653,8 @@ class DiscoInfo(NamedTuple): def has_identity(self, category: str, type_: str) -> bool: for identity in self.identities: if (identity.category == category and - identity.type == type_): - return True + identity.type == type_): + return True return False @property -- cgit v1.2.3