quick_frontend (QuickApp): fixed getCache handling after changes in QuickContactList
This commit is contained in:
parent
d5c9fa5e31
commit
1a74cdce28
1 changed files with 4 additions and 1 deletions
|
|
@ -1223,7 +1223,10 @@ class QuickApp(object):
|
|||
if ignore_cache:
|
||||
avatar = None
|
||||
else:
|
||||
avatar = contact_list.getCache(entity, "avatar", bare_default=None)
|
||||
try:
|
||||
avatar = contact_list.getCache(entity, "avatar", bare_default=None)
|
||||
except exceptions.NotFound:
|
||||
avatar = None
|
||||
if avatar is None:
|
||||
self.bridge.avatarGet(
|
||||
unicode(entity),
|
||||
|
|
|
|||
Loading…
Reference in a new issue