Commit 7ab668a4 authored by Jerome Flesch's avatar Jerome Flesch

GTK: Fix: Call Libinsane.list_devices(), not Libinsane.get_devices()

Signed-off-by: Jerome Flesch's avatarJerome Flesch <jflesch@openpaper.work>
parent 314e7a8c
Pipeline #99431 passed with stage
in 4 minutes and 47 seconds
......@@ -354,7 +354,7 @@ def get_scanner(config, libinsane, preferred_sources=None):
try:
# we didn't find the scanner at the given ID
# but maybe there is only one, so we can guess the scanner to use
devices = libinsane.get_devices()
devices = libinsane.list_devices()
if len(devices) != 1:
raise
logger.info(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment