python-pillow / Sane

Python interface to the SANE scanner and frame grabber
Other
55 stars 19 forks source link

'Document feeder out of documents' was raised by self.device.snap(True). #53

Closed LightTemplar closed 5 years ago

LightTemplar commented 5 years ago

class _SaneIterator, method next(self): the Exception 'Document feeder out of documents' was raised by self.device.snap(True). Could you put it also inside "try ... except" block?

manisandro commented 5 years ago

Please test https://github.com/python-pillow/Sane/commit/4a5a549771781b1cd126cf36391336a454c3cf2b

LightTemplar commented 5 years ago

It works!