hplip/hplip-hpfax-importerror-print.patch
wk333 fff389064a Upgrade to 3.23.8 for fix CVE-2020-6923
(cherry picked from commit 736cd157bf6fc44e8c2696e8ed66a51dedb8b277)
2024-12-27 14:29:06 +08:00

14 lines
401 B
Diff

diff --git a/fax/backend/hpfax.py b/fax/backend/hpfax.py
index a63051d..3e187c9 100755
--- a/fax/backend/hpfax.py
+++ b/fax/backend/hpfax.py
@@ -89,7 +89,7 @@ try:
from base import utils
#from prnt import cups
except ImportError as e:
- bug("Error importing HPLIP modules: %s\n" % (pid, e))
+ bug("Error importing HPLIP modules: %s\n" % (e))
sys.exit(1)
def handle_sigpipe():