rabin 5 years ago
parent
commit
086d8da552
1 changed files with 1 additions and 0 deletions
  1. 1 0
      service/convert.py

+ 1 - 0
service/convert.py

@@ -304,6 +304,7 @@ class Convert(object):
 	def cut(self, info):
 		from pdf2jpg import pdf2jpg
 		from wand.image import Image
+		dest = info['html'] + '.photo'
 		result = pdf2jpg.convert_pdf2jpg(info['pdf'], dest, pages="0,1")
 
 		i = 0