avatar/win32: open with rb so windows are ok

This commit is contained in:
Nikos Kouremenos 2005-08-26 22:12:19 +00:00
parent f2a7430619
commit 780b3d4e20
1 changed files with 1 additions and 1 deletions

View File

@ -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)