package eikazo
tag 653319 + patch
thanks

With the attached patch, eikazo is usable again with HP scanners.
The patch is just a minimal (and harmless) workaround. So it does not
solve the real problem behind, which seems to be connected with SANE.

Best regards
 Johann Felix Soden

Description: Fix crash with HP scanners
Bug-Debian: http://bugs.debian.org/653319
Author: Johann Felix Soden <joh...@gmx.de>

--- a/Eikazo/Eikazo.py	2006-10-05 16:19:00.000000000 +0200
+++ b/Eikazo/Eikazo.py	2012-03-13 23:56:10.152123353 +0100
@@ -258,7 +258,7 @@ class DeviceControl:
         
         for groupname, opts in device.getGroupedOptionNames():
             opts = [x for x in opts if not x in self._mainOpts \
-                                       and not x in nodisplayOpts]
+                                       and not x in nodisplayOpts and x]
             if opts:
                 optbox = gtk.Table(len(opts), 2)
                 optbox.set_col_spacing(0, 6)

Reply via email to