primitivus (chat): fixed a crash when page-up was pressed on room contacts list
This commit is contained in:
parent
6b75a82f04
commit
bd46cb609e
1 changed files with 2 additions and 0 deletions
|
|
@ -157,6 +157,8 @@ class OccupantWidget(urwid.WidgetWrap):
|
||||||
super(OccupantWidget, self).__init__(urwid.Text(markup))
|
super(OccupantWidget, self).__init__(urwid.Text(markup))
|
||||||
|
|
||||||
def __eq__(self, other):
|
def __eq__(self, other):
|
||||||
|
if other is None:
|
||||||
|
return False
|
||||||
return self.occupant_data.nick == other.occupant_data.nick
|
return self.occupant_data.nick == other.occupant_data.nick
|
||||||
|
|
||||||
def __lt__(self, other):
|
def __lt__(self, other):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue