def _getAvatar(acc):
 pimg = (('avatars/' + acc) + '.jpeg')
 return ((pimg, None) if os.path.exists(pimg) else ('/Applications/Skype.app', 'fileicon'))

def _getAvatar ( acc ) : pimg = ( ( 'avatars/' + acc ) + '.jpeg' ) return ( ( pimg , None ) if os . path . exists ( pimg ) else ( '/Applications/Skype.app' , 'fileicon' ) )
get the path for the avatar image of a user .