Skip to content
Snippets Groups Projects

Prázdné protokoly

Merged Martin Mareš requested to merge mj/points into devel
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -167,7 +167,7 @@ def parse_gen_points(
) -> Tuple[GPAction, Optional[decimal.Decimal], Optional[str]]:
"""Zobecnění parse_points(). Naparsuje generalizované body používané při editaci.
Vrátí typ hodnocení (GPAction), body (decimal.Decimal nebo None) a případný error."""
gen_points = gen_points.upper()
gen_points = gen_points.upper() if gen_points is not None else None
if gen_points is None or gen_points == 'X':
return GPAction.no_solution, None, None
elif gen_points == "" or gen_points == '?':
Loading