def readRecord(self, recordnum, disable_compression=False):
    if self.config:
        if ((self.config['palmdoc']['Compression'] == 1) or disable_compression):
            return self.contents[self.records[recordnum]['record Data Offset']:self.records[(recordnum + 1)]['record Data Offset']]
def readRecord(self, recordnum, disable_compression=False):
    if self.config:
        if ((self.config['palmdoc']['Compression'] == 1) or disable_compression):
            return self.contents[self.records[recordnum]['record Data Offset']:self.records[(recordnum + 1)]['record Data Offset']]