Chyba odchycena tak, aby pri tom nedoslo k chybe
This commit is contained in:
		
							parent
							
								
									24d0639683
								
							
						
					
					
						commit
						cbc00169a5
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -81,7 +81,8 @@ class ProblemAutocomplete(autocomplete_light.AutocompleteModelBase): | |||
|             try: | ||||
|                 popisek = u"%s (%s, %s.%s)" % (p.nazev, p.typ, p.cislo_zadani.rocnik.rocnik, p.kod_v_rocniku()) | ||||
|             except: | ||||
|                 popisek = u"%s (%s, %s.%s)" % (p.nazev, p.typ, p.stav) | ||||
|                 #popisek = u"%s (%s, %s.%s)" % (p.nazev, p.typ, p.stav) | ||||
|                 popisek = "CHYBA" | ||||
|             return popisek | ||||
|         else: | ||||
|             return u"%s (%s, %s)" % (p.nazev, p.typ, p.stav) | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Bc. Petr Pecha
						Bc. Petr Pecha