Úlohy hotovy

This commit is contained in:
Pavel "LEdoian" Turinsky 2021-06-02 02:41:21 +02:00
parent ac4b93cd52
commit 86bc839f2a

View file

@ -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"