diff --git a/src/common/contacts.py b/src/common/contacts.py index b509aa77b..262edd1d8 100644 --- a/src/common/contacts.py +++ b/src/common/contacts.py @@ -439,7 +439,7 @@ class Contacts: else: show1 = show_list.index(contact1.show) priority1 = contact1.priority - if not contact1: + if not contact2: show2 = 0 priority2 = 0 else: