prevent traceback

This commit is contained in:
Yann Leboulanger 2009-10-18 10:56:23 +02:00
parent c4365f7a97
commit ad02f1636f
1 changed files with 2 additions and 2 deletions

View File

@ -1191,7 +1191,7 @@ def get_notification_icon_tooltip_dict():
'%d event pending',
'%d events pending',
total_non_messages, total_non_messages, total_non_messages)
accounts[account]['event_lines'].append(text)
account['event_lines'].append(text)
else:
for jid in non_messages.keys():
text = ngettext(
@ -1199,7 +1199,7 @@ def get_notification_icon_tooltip_dict():
'%d events pending',
non_messages[jid], non_messages[jid], non_messages[jid])
text += _(' from user %s') % (jid)
accounts[account]['event_lines'].append(text)
account[account]['event_lines'].append(text)
return accounts