Comment 13 for bug 1773320

Revision history for this message
Martin Wilck (mwilck) wrote :

This bug is still present in hplip 3.19.12.

The patch from comment 1 should be applied. And the change from comment 12. Or better:

diff --git a/base/utils.py b/base/utils.py
index f268cf8..cc77820 100644
--- a/base/utils.py
+++ b/base/utils.py
@@ -954,10 +954,7 @@ else:

 def printable(s):
- if s:
- return s.translate(identity, unprintable)
- else:
- return ""
+ return s.translate(identity, unprintable)