Oprava korektur pro relativní cesty.
This commit is contained in:
		
							parent
							
								
									b435c3ef81
								
							
						
					
					
						commit
						9456807a80
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -78,7 +78,9 @@ class KorekturovanePDF(models.Model): | |||
|             "-density","180x180", | ||||
|             "-geometry"," 1024x1448", | ||||
|             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: | ||||
|                 break | ||||
|             self.stran +=1 | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue