diff --git a/src/vcard.py b/src/vcard.py index 3945ce5de..da19d9ba9 100644 --- a/src/vcard.py +++ b/src/vcard.py @@ -167,7 +167,7 @@ class VcardWindow: % f, _('The file must not be more than 8 kilobytes.')).get_response() return - fd = open(f) + fd = open(f, 'rb') data = fd.read() pixbufloader = gtk.gdk.PixbufLoader() pixbufloader.write(data)