diff --git a/src/common/connection_handlers.py b/src/common/connection_handlers.py index c4dc05a86..1117de348 100644 --- a/src/common/connection_handlers.py +++ b/src/common/connection_handlers.py @@ -1417,7 +1417,11 @@ ConnectionJingle, ConnectionIBBytestream): labels = {} ll = [] for item in items: - label = item.getTag('displaymarking').getData() + display_tag = item.getTag('displaymarking') + if display_tag: + label = display_tag.getData() + else: + label = '' labels[label] = item ll.append(label) if to not in self.seclabel_catalogues: