fix error when opening history window

This commit is contained in:
Yann Leboulanger 2013-01-20 22:50:04 +01:00
parent f37a1b5a40
commit d07c423b30
1 changed files with 2 additions and 0 deletions

View File

@ -172,6 +172,8 @@ class HistoryWindow:
keys.insert(0, actual_jid)
if '' in keys:
keys.remove('')
if None in keys:
keys.remove(None)
# Map jid to info tuple
# Warning : This for is time critical with big DB
for key in keys: