diff --git a/src/vcard.py b/src/vcard.py
index 75b1cddc9291e5e8cb632d7d2498ece5f9c64ab7..844425b65c65e27d62e6aabb591f78d14e514363 100644
--- a/src/vcard.py
+++ b/src/vcard.py
@@ -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()