Ať to nepadá, pokud nebyl přiřazen deadline.
This commit is contained in:
		
							parent
							
								
									6e06f77239
								
							
						
					
					
						commit
						66447063a9
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -62,7 +62,7 @@ def prirad_deadliny(apps, schema_editor): | |||
| 
 | ||||
|         # Zběžná kontrola. Předpokládá, že M&M má méně než 10 čísel v ročníku | ||||
|         # a že první znak pořadí je int určující dané pořadí (schroustání 7-8). | ||||
|         if h.cislo_body and ( | ||||
|         if h.cislo_body and h.deadline_body and ( | ||||
|                     int(h.deadline_body.cislo.poradi[0]) + 2 < int(h.cislo_body.poradi[0]) | ||||
|                     or int(h.deadline_body.cislo.poradi[0]) > int(h.cislo_body.poradi[0]) | ||||
|                 ): | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue