Skip to content
Permalink
Browse files

Set page name correctly when missing

  • Loading branch information
simoncadman committed Feb 23, 2014
1 parent fcb93c7 commit ddd00d537998077cafb2da16cbe7f33d30b8763b
Showing with 10 additions and 10 deletions.
  1. +1 −1 backend.py
  2. +1 −1 deleteaccount.py
  3. +1 −1 dynamicppd.py
  4. +1 −1 listcloudprinters.py
  5. +1 −1 listdrivefiles.py
  6. +2 −2 printer.py
  7. +1 −1 reportissues.py
  8. +1 −1 setupcloudprint.py
  9. +1 −1 upgrade.py
@@ -22,7 +22,7 @@

if len(sys.argv) == 2 and sys.argv[1] == 'version':
# line below is replaced on commit
CCPVersion = "20140223 224103"
CCPVersion = "20140223 234321"
print "CUPS Cloud Print CUPS Backend Version " + CCPVersion
sys.exit(0)

@@ -22,7 +22,7 @@

if len(sys.argv) == 2 and sys.argv[1] == 'version':
# line below is replaced on commit
CCPVersion = "20140223 224103"
CCPVersion = "20140223 234321"
print "CUPS Cloud Print Delete Account Script Version " + CCPVersion
sys.exit(0)

@@ -20,7 +20,7 @@

if len(sys.argv) == 2 and sys.argv[1] == 'version':
# line below is replaced on commit
CCPVersion = "20140223 224103"
CCPVersion = "20140223 234321"
print "CUPS Cloud Print Dynamic PPD Generator Version " + CCPVersion
sys.exit(0)

@@ -26,7 +26,7 @@

if len(sys.argv) == 2 and sys.argv[1] == 'version':
# line below is replaced on commit
CCPVersion = "20140223 224103"
CCPVersion = "20140223 234321"
print "CUPS Cloud Print Printer Lister Version " + CCPVersion
sys.exit(0)

@@ -22,7 +22,7 @@

if len(sys.argv) == 2 and sys.argv[1] == 'version':
# line below is replaced on commit
CCPVersion = "20140223 224103"
CCPVersion = "20140223 234321"
print "CUPS Cloud Print Printer Drive Lister Version " + CCPVersion
sys.exit(0)

@@ -440,8 +440,8 @@ def submitJob(self, printerid, jobtype, jobfile, jobname, printername, options="
return False

title = jobname
if jobname == "":
jobname = "Untitled page"
if title == "":
title = "Untitled page"

content = {'pdf': fdata,
'jpeg': jobfile,
@@ -21,7 +21,7 @@

if len(sys.argv) == 2 and sys.argv[1] == 'version':
# line below is replaced on commit
CCPVersion = "20140223 224103"
CCPVersion = "20140223 234321"
print "CUPS Cloud Print Issue Reporting Script Version " + CCPVersion
sys.exit(0)

@@ -22,7 +22,7 @@

if len(sys.argv) == 2 and sys.argv[1] == 'version':
# line below is replaced on commit
CCPVersion = "20140223 224103"
CCPVersion = "20140223 234321"
print "CUPS Cloud Print Setup Script Version " + CCPVersion
sys.exit(0)

@@ -39,7 +39,7 @@
printerItem = Printer(requestors)

# line below is replaced on commit
CCPVersion = "20140223 224103"
CCPVersion = "20140223 234321"

if len(sys.argv) == 2 and sys.argv[1] == 'version':
print "CUPS Cloud Print Upgrade Script Version " + CCPVersion

0 comments on commit ddd00d5

Please sign in to comment.
You can’t perform that action at this time.