|
@ -78,7 +78,9 @@ class KorekturovanePDF(models.Model): |
|
|
"-density","180x180", |
|
|
"-density","180x180", |
|
|
"-geometry"," 1024x1448", |
|
|
"-geometry"," 1024x1448", |
|
|
self.pdf.path+"[%d]"%self.stran, |
|
|
self.pdf.path+"[%d]"%self.stran, |
|
|
os.path.join(settings.KOREKTURY_IMG_DIR, "%s-%d.png"%(filename,self.stran))]) |
|
|
os.path.join(settings.BASE_DIR, "media", |
|
|
|
|
|
settings.KOREKTURY_IMG_DIR, |
|
|
|
|
|
"%s-%d.png"%(filename,self.stran))]) |
|
|
if res==1: |
|
|
if res==1: |
|
|
break |
|
|
break |
|
|
self.stran +=1 |
|
|
self.stran +=1 |
|
|