hplip-3165-sourceoption.patch 464 B

123456789101112
  1. diff -up hplip-3.16.5/scan.py.sourceoption hplip-3.16.5/scan.py
  2. --- hplip-3.16.5/scan.py.sourceoption 2016-06-22 10:25:52.742799941 +0200
  3. +++ hplip-3.16.5/scan.py 2016-06-22 10:34:51.945766487 +0200
  4. @@ -658,6 +658,7 @@ try:
  5. sys.exit(1)
  6. except:
  7. log.error("Failed to get the source from device.")
  8. + sys.exit(1)
  9. #check if device has only ADF
  10. if len(source_option) == 1 and 'ADF' in source_option: