def __iter__(self):
    if (not self.config):
        return
    for record in range(1, (self.config['mobi']['First Non-book index'] - 1)):
        (yield self.readRecord(record))
def __iter__(self):
    if (not self.config):
        return
    for record in range(1, (self.config['mobi']['First Non-book index'] - 1)):
        (yield self.readRecord(record))