From 05f6fb34ee79ee8112ef549e93f0a138be0e2abf Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 1 Aug 2024 15:40:13 +0000 Subject: automatic import of hplip --- hplip-3165-sourceoption.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 hplip-3165-sourceoption.patch (limited to 'hplip-3165-sourceoption.patch') diff --git a/hplip-3165-sourceoption.patch b/hplip-3165-sourceoption.patch new file mode 100644 index 0000000..fd8ff09 --- /dev/null +++ b/hplip-3165-sourceoption.patch @@ -0,0 +1,11 @@ +diff -up hplip-3.16.5/scan.py.sourceoption hplip-3.16.5/scan.py +--- hplip-3.16.5/scan.py.sourceoption 2016-06-22 10:25:52.742799941 +0200 ++++ hplip-3.16.5/scan.py 2016-06-22 10:34:51.945766487 +0200 +@@ -658,6 +658,7 @@ try: + sys.exit(1) + except: + log.error("Failed to get the source from device.") ++ sys.exit(1) + + #check if device has only ADF + if len(source_option) == 1 and 'ADF' in source_option: -- cgit v1.2.3