denisenkom / pytwain

TWAIN library using ctypes bindings
Other
45 stars 23 forks source link

fixed source_list #37

Closed Suyashd999 closed 11 months ago

Suyashd999 commented 11 months ago

The source_list now returns the name of sources.

Fixes #29

denisenkom commented 11 months ago

Source list is intended to be a property. Why are you removing property annotation from it?

Suyashd999 commented 11 months ago

Source list is intended to be a property. Why are you removing property annotation from it?

The property leads to generation of following attached error: PXL_20231007_090530888

Removing the property, I was able to fix it and got correct results.

denisenkom commented 11 months ago

You should write r = res.source_list Instead of r = res.source_list()