Úlohy hotovy
This commit is contained in:
		
							parent
							
								
									ac4b93cd52
								
							
						
					
					
						commit
						86bc839f2a
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -320,7 +320,9 @@ def check_uloha(): | |||
| 
 | ||||
| 	for o,n in res: | ||||
| 		check_same(o,n, old_fields, new_fields) | ||||
| 	# TODO: cislo_deadline | ||||
| 		# Datum deadline vypadá prázdně, tak to budeme předpokládat. | ||||
| 		if n['datum_deadline'] is not None: | ||||
| 			raise ValueError("Úloha má deadline.") | ||||
| 
 | ||||
| def check_tema(): | ||||
| 	old_query = "SELECT * FROM seminar_problemy WHERE typ IN ('tema', 'serial') ORDER BY id" | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Pavel "LEdoian" Turinsky
						Pavel "LEdoian" Turinsky