'Cover as a data string or None'

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

    id = (index if index_is_id else self.id(index))
    data = self.conn.get('SELECT    data    FROM    covers    WHERE    book=?', (id,), all=False)
    if (not data):
        return None
    return decompress(data)
