def decode_thumbnail(tup):
 if (tup is None):
  return None
 return (tup[0], tup[1], b64decode(tup[2]))

def decode_thumbnail ( tup ) : if ( tup is None ) : return None return ( tup [ 0 ] , tup [ 1 ] , b64decode ( tup [ 2 ] ) )
decode an encoded thumbnail into its 3 component parts .