Permalink
Browse files

Stop sending PDF data twice

  • Loading branch information...
simoncadman committed Nov 8, 2011
1 parent a502fc3 commit 79bf0de0aec4e3aed009a471f080c2d93229848f
Showing with 0 additions and 1 deletion.
  1. +0 −1 submitjob.py
View
@@ -273,7 +273,6 @@ def SubmitJob(printerid, jobtype, jobsrc, jobname):
('contentType', content_type[jobtype])]
files = [('capabilities', 'capabilities', '{"capabilities":[]}')]
if jobtype in ['pdf', 'jpeg', 'png']:
- files.append(('content', jobsrc, fdata))
edata = EncodeMultiPart(headers, files, file_type=content_type[jobtype])
else:
edata = EncodeMultiPart(headers, files)

0 comments on commit 79bf0de

Please sign in to comment.