'Return available formats as a comma separated list'

def formats(self, index, index_is_id=False):

    id = (index if index_is_id else self.id(index))
    return self.conn.get('SELECT    concat(format)    FROM    data    WHERE    data.book=?', (id,), all=False)
