1912147 - Enable matching for '<model>_series' drivers in PPD search algorithm
This commit is contained in:
parent
46cc98726f
commit
b4f017fe30
@ -1,5 +1,5 @@
|
||||
diff --git a/prnt/cups.py b/prnt/cups.py
|
||||
index a9f410a..b3e7434 100644
|
||||
index a9f410a..733891b 100644
|
||||
--- a/prnt/cups.py
|
||||
+++ b/prnt/cups.py
|
||||
@@ -489,49 +489,72 @@ def getPPDFile2(mq,model, ppds): # New PPD find
|
||||
@ -98,7 +98,7 @@ index a9f410a..b3e7434 100644
|
||||
+ pdls.append(pdl)
|
||||
+ ppd_model=ppd_model.replace('-{}'.format(pdl), '')
|
||||
+
|
||||
+ if ppd_model != wanted_model:
|
||||
+ if ppd_model != wanted_model and ppd_model != '{}_series'.format(wanted_model):
|
||||
+ continue
|
||||
+
|
||||
+ log.debug("Found match: %s" % f)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user