Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

remembered list slices

  • Loading branch information...
commit 35c340fd0e3c39cae95d848f4e0f9ea2454cc858 1 parent c530646
Jeff Strunk authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  browsecups.py
2  browsecups.py
@@ -36,7 +36,7 @@ def findppd(c, printer):
36 36
         try:
37 37
             ppds = c.getPPDs(ppd_make_and_model=model)
38 38
         except cups.IPPError:
39  
-            model = model.rstrip(model[-1])
  39
+            model = model[0:-1]
40 40
         else:
41 41
             if len(ppds) == 1:
42 42
                 return ppds.keys()[0]

0 notes on commit 35c340f

Please sign in to comment.
Something went wrong with that request. Please try again.