diff options
Diffstat (limited to 'gajim/common/modules/security_labels.py')
-rw-r--r-- | gajim/common/modules/security_labels.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gajim/common/modules/security_labels.py b/gajim/common/modules/security_labels.py index bdfad4206..8895925fb 100644 --- a/gajim/common/modules/security_labels.py +++ b/gajim/common/modules/security_labels.py @@ -17,7 +17,6 @@ from __future__ import annotations from typing import Generator -from typing import Optional from nbxmpp.errors import is_error from nbxmpp.modules.security_labels import Catalog @@ -70,7 +69,7 @@ class SecLabels(BaseModule): jid=jid, catalog=catalog)) - def get_catalog(self, jid: str) -> Optional[Catalog]: + def get_catalog(self, jid: str) -> Catalog | None: if not self.supported: return None |