fix error when opening history window
This commit is contained in:
parent
f37a1b5a40
commit
d07c423b30
1 changed files with 2 additions and 0 deletions
|
@ -172,6 +172,8 @@ class HistoryWindow:
|
||||||
keys.insert(0, actual_jid)
|
keys.insert(0, actual_jid)
|
||||||
if '' in keys:
|
if '' in keys:
|
||||||
keys.remove('')
|
keys.remove('')
|
||||||
|
if None in keys:
|
||||||
|
keys.remove(None)
|
||||||
# Map jid to info tuple
|
# Map jid to info tuple
|
||||||
# Warning : This for is time critical with big DB
|
# Warning : This for is time critical with big DB
|
||||||
for key in keys:
|
for key in keys:
|
||||||
|
|
Loading…
Add table
Reference in a new issue