TexUploadView: nepovinné body
This commit is contained in:
		
							parent
							
								
									abd392e1fe
								
							
						
					
					
						commit
						642a0c16fd
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -597,7 +597,8 @@ def TexUploadView(request): | |||
|             else: | ||||
|                 problem.text_zadani = html | ||||
|                 problem.nazev = meta["nazev"] | ||||
|                 problem.body = meta["body"] | ||||
|                 if "body" in meta: | ||||
|                     problem.body = meta["body"] | ||||
| 
 | ||||
|             problem.save() | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Matěj Kocián
						Matěj Kocián