Špatné importy

This commit is contained in:
Jonas Havelka 2021-03-02 22:20:08 +01:00
parent 1254135ef1
commit 629c95e62c

View file

@ -29,7 +29,7 @@ from seminar.forms import PrihlaskaForm, LoginForm, ProfileEditForm
import seminar.forms as f
import seminar.templatetags.treenodes as tnltt
import seminar.views.views_rest as vr
from seminar.views.vysledkovka import vysledkovka_rocniku, vysledkovka_cisla
from seminar.views.vysledkovka import vysledkovka_rocniku, vysledkovka_cisla, body_resitelu
from datetime import timedelta, date, datetime, MAXYEAR
from django.utils import timezone
@ -185,7 +185,7 @@ class TNLData(object):
return [cls.from_treenode(treenode)]
else:
found = []
for tn in all_children(treenode):
for tn in treelib.all_children(treenode):
result = cls.filter_treenode(tn, predicate)
# Result by v tuhle chvíli měl být seznam TNLDat odpovídající treenodům, jež matchnuly predikát.
for tnl in result: