Permalink
Browse files

Fixed adding individual printer with prefix

  • Loading branch information...
simoncadman committed Oct 8, 2013
1 parent 0f576cf commit 85208862e8f8d42436c0277633949d8587c510e5
Showing with 9 additions and 9 deletions.
  1. +1 −1 backend.py
  2. +1 −1 deleteaccount.py
  3. +1 −1 dynamicppd.py
  4. +1 −1 listcloudprinters.py
  5. +1 −1 reportissues.py
  6. +2 −2 setupcloudprint.py
  7. +1 −1 submitjob.py
  8. +1 −1 upgrade.py
View
@@ -20,7 +20,7 @@
if len(sys.argv) == 2 and sys.argv[1] == 'version':
# line below is replaced on commit
- CCPVersion = "20131008 210502"
+ CCPVersion = "20131008 210525"
print "CUPS Cloud Print CUPS Backend Version " + CCPVersion
sys.exit(0)
View
@@ -20,7 +20,7 @@
if len(sys.argv) == 2 and sys.argv[1] == 'version':
# line below is replaced on commit
- CCPVersion = "20131008 210502"
+ CCPVersion = "20131008 210525"
print "CUPS Cloud Print Delete Account Script Version " + CCPVersion
sys.exit(0)
View
@@ -19,7 +19,7 @@
if len(sys.argv) == 2 and sys.argv[1] == 'version':
# line below is replaced on commit
- CCPVersion = "20131008 210502"
+ CCPVersion = "20131008 210525"
print "CUPS Cloud Print Dynamic PPD Generator Version " + CCPVersion
sys.exit(0)
View
@@ -21,7 +21,7 @@
if len(sys.argv) == 2 and sys.argv[1] == 'version':
# line below is replaced on commit
- CCPVersion = "20131008 210502"
+ CCPVersion = "20131008 210525"
print "CUPS Cloud Print Printer Lister Version " + CCPVersion
sys.exit(0)
View
@@ -19,7 +19,7 @@
if len(sys.argv) == 2 and sys.argv[1] == 'version':
# line below is replaced on commit
- CCPVersion = "20131008 210502"
+ CCPVersion = "20131008 210525"
print "CUPS Cloud Print Issue Reporting Script Version " + CCPVersion
sys.exit(0)
View
@@ -21,7 +21,7 @@
if len(sys.argv) == 2 and sys.argv[1] == 'version':
# line below is replaced on commit
- CCPVersion = "20131008 210502"
+ CCPVersion = "20131008 210525"
print "CUPS Cloud Print Setup Script Version " + CCPVersion
sys.exit(0)
@@ -86,7 +86,7 @@
print("Not using prefix")
printername = prefix + ccpprinter['name'].encode('ascii', 'replace')
- uri = printer.printerNameToUri(ccpprinter['account'], printername)
+ uri = printer.printerNameToUri(ccpprinter['account'], ccpprinter['name'].encode('ascii', 'replace'))
found = False
for cupsprinter in cupsprinters:
if cupsprinters[cupsprinter]['device-uri'] == uri:
View
@@ -21,7 +21,7 @@
if len(sys.argv) == 2 and sys.argv[1] == 'version':
# line below is replaced on commit
- CCPVersion = "20131008 210502"
+ CCPVersion = "20131008 210525"
print "CUPS Cloud Print Submit Job Version " + CCPVersion
sys.exit(0)
View
@@ -22,7 +22,7 @@
if len(sys.argv) == 2 and sys.argv[1] == 'version':
# line below is replaced on commit
- CCPVersion = "20131008 210502"
+ CCPVersion = "20131008 210525"
print "CUPS Cloud Print Upgrade Script Version " + CCPVersion
sys.exit(0)

0 comments on commit 8520886

Please sign in to comment.