tex-html: fix ukládání obrázků po změně cest
This commit is contained in:
		
							parent
							
								
									d1674db61d
								
							
						
					
					
						commit
						ba41109339
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -565,7 +565,8 @@ def texUploadView(request): | |||
| 
 | ||||
|     def uloz_soubory(files, rocnik, cislo): | ||||
|         for filename, f in files: | ||||
|             path = "{}/{}/{}/{}".format( | ||||
|             path = os.path.join( | ||||
|                 settings.MEDIA_ROOT, | ||||
|                 settings.CISLO_IMG_DIR, | ||||
|                 rocnik, | ||||
|                 cislo, | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Matěj Kocián
						Matěj Kocián