Skip to content
Snippets Groups Projects
Commit 29431cb0 authored by junglecow's avatar junglecow
Browse files

Fixed KeyError TB

parent 0969df7c
No related branches found
No related tags found
No related merge requests found
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment