Pārlūkot izejas kodu

更新 'service/convert.py'

rabin 3 gadi atpakaļ
vecāks
revīzija
36faf32449
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      service/convert.py

+ 1 - 1
service/convert.py

@@ -338,7 +338,7 @@ class Convert(object):
 			if i == 0:
 				dest = info['html'] + '.jpg'
 			else:
-				dest = info['html'] + '.jpg_' + i + '.jpg'
+				dest = info['html'] + '.jpg_' + str(i) + '.jpg'
 			command = 'mv '+source+' ' + dest
 			Shell.popen(command)