Merge remote-tracking branch 'origin/master' into stable
This commit is contained in:
		
						commit
						097d84f47e
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -104,7 +104,7 @@ class Obrazek(models.Model): | |||
|                               datum_int[3], datum_int[4], datum_int[5]) | ||||
|     jmeno = os.path.basename(self.obrazek_velky.file.name) | ||||
|     if not self.obrazek_stredni: | ||||
|       Obrazek._vyrobMiniaturu(original, jmeno, 500, self.obrazek_stredni) | ||||
|       Obrazek._vyrobMiniaturu(original, jmeno, 600, self.obrazek_stredni) | ||||
|     if not self.obrazek_maly: | ||||
|       Obrazek._vyrobMiniaturu(original, jmeno, 200, self.obrazek_maly) | ||||
|     super(Obrazek, self).save() | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Bc. Petr Pecha
						Bc. Petr Pecha