# HG changeset patch # User Goffi # Date 1467324012 -7200 # Node ID 3f0d22565684e25e3712cfe9d09156dc48f785c0 # Parent ab439ffe4113146ced28c8fdb059b1c6fe79c0ba primitivus (chat): fixed a crash when page-up was pressed on room contacts list diff -r ab439ffe4113 -r 3f0d22565684 frontends/src/primitivus/chat.py --- a/frontends/src/primitivus/chat.py Fri Jul 01 00:00:11 2016 +0200 +++ b/frontends/src/primitivus/chat.py Fri Jul 01 00:00:12 2016 +0200 @@ -157,6 +157,8 @@ super(OccupantWidget, self).__init__(urwid.Text(markup)) def __eq__(self, other): + if other is None: + return False return self.occupant_data.nick == other.occupant_data.nick def __lt__(self, other):