Fixed KeyError TB

This commit is contained in:
junglecow 2006-11-13 20:34:24 +00:00
parent 0969df7ce1
commit 29431cb04c
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ class VcardWindow:
annotation = buffer.get_text(buffer.get_start_iter(),
buffer.get_end_iter())
connection = gajim.connections[self.account]
if annotation != connection.annotations[self.contact.jid]:
if annotation != connection.annotations.get(self.contact.jid, ''):
connection.annotations[self.contact.jid] = annotation
connection.store_annotations()