Permalink
Browse files

PDF files now created in Google Docs based on print title instead of …

…filename
  • Loading branch information...
simoncadman committed Nov 8, 2011
1 parent 79bf0de commit eaa9d76f4f0f8be98ec618cf6f8decba1bcf86ff
Showing with 1 addition and 1 deletion.
  1. +1 −1 backend.py
View
@@ -102,7 +102,7 @@ def is_exe(fpath):
sys.stderr.write( "INFO: Sending document to Cloud Print\n")
logfile.write("Sending "+ pdfFile + " to cloud\n")
result = 0
-p = subprocess.Popen([submitjobpath, pdfFile, uri], stdout=subprocess.PIPE)
+p = subprocess.Popen([submitjobpath, pdfFile, uri, jobTitle], stdout=subprocess.PIPE)
output = p.communicate()[0]
result = p.returncode
sys.stderr.write(output)

0 comments on commit eaa9d76

Please sign in to comment.