diff --git a/src/vcard.py b/src/vcard.py index 8fa203c10..49bb235e3 100644 --- a/src/vcard.py +++ b/src/vcard.py @@ -61,7 +61,7 @@ def get_avatar_pixbuf_encoded_mime(photo): img_encoded = photo['BINVAL'] avatar_encoded = img_encoded try: - img_decoded = base64.b64decode(img_encoded.encode('utf-8')).decode('utf-8') + img_decoded = base64.b64decode(img_encoded.encode('utf-8')) except Exception: pass if img_decoded: