cleaner
This commit is contained in:
parent
0670282453
commit
a3227aacb4
|
@ -956,8 +956,8 @@ class Interface:
|
||||||
vcard_dict = gajim.connections[account].get_cached_vcard(jid)
|
vcard_dict = gajim.connections[account].get_cached_vcard(jid)
|
||||||
if not vcard_dict.has_key('PHOTO'):
|
if not vcard_dict.has_key('PHOTO'):
|
||||||
return None
|
return None
|
||||||
pix, _t, _t = vcard.get_avatar_pixbuf(vcard_dict['PHOTO'])
|
pixbuf = vcard.get_avatar_pixbuf(vcard_dict['PHOTO'])[0]
|
||||||
return pix
|
return pixbuf
|
||||||
|
|
||||||
def read_sleepy(self):
|
def read_sleepy(self):
|
||||||
'''Check idle status and change that status if needed'''
|
'''Check idle status and change that status if needed'''
|
||||||
|
|
Loading…
Reference in New Issue