diff options
author | Philipp Hörist <philipp@hoerist.com> | 2023-10-04 22:50:24 +0300 |
---|---|---|
committer | Philipp Hörist <philipp@hoerist.com> | 2023-10-04 22:50:24 +0300 |
commit | f85d3c952b546d4cd3626565fa30877415d4cf65 (patch) | |
tree | 73d954f9c1ce3b1a5517d9d2f9e41d08ca55c650 | |
parent | 922813c89949cebb038bffda7cd81b15ab1ae7b1 (diff) |
cfix: Fix indentation
-rw-r--r-- | nbxmpp/structs.py | 4 |
1 files 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 |