def seek(self, page_number):
        # Starting with #0
        self.file_object.seek(0)

        try:
            self.image = Image.open(self.file_object)
        except __HOLE__:
            # Cannot identify image file
            self.image = self.convert(page_number=page_number)
        else:
            self.image.seek(page_number)
            self.image.load()
dataset/ETHPy150Open mayan-edms/mayan-edms/mayan/apps/converter/classes.py/ConverterBase.seek