[dkirov] JEP says we should not use EXTVAL in vcard

This commit is contained in:
Yann Leboulanger 2006-04-05 11:29:35 +00:00
parent d91d0e0b0e
commit 2f9b0eab28
1 changed files with 0 additions and 8 deletions

View File

@ -16,7 +16,6 @@
import gtk
import gtk.glade
import gobject
import urllib
import base64
import mimetypes
import os
@ -53,13 +52,6 @@ def get_avatar_pixbuf_encoded_mime(photo):
img_decoded = base64.decodestring(img_encoded)
except:
pass
elif photo.has_key('EXTVAL'):
url = photo['EXTVAL']
try:
fd = urllib.urlopen(url)
img_decoded = fd.read()
except:
pass
if img_decoded:
pixbuf = gtkgui_helpers.get_pixbuf_from_data(img_decoded)
else: