From 3494036becb5da87a2b33aa443d30f4fb4267149 Mon Sep 17 00:00:00 2001 From: Jonas Havelka Date: Tue, 25 May 2021 19:47:14 +0200 Subject: [PATCH] =?UTF-8?q?aesop=20=E2=80=A6=20jo=20a=20tak=C3=A9=20m?= =?UTF-8?q?=C4=9Bl=20=C5=A1patn=C3=BD=20po=C4=8Det=20n=C3=A1vratov=C3=BDch?= =?UTF-8?q?=20hodnot?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- seminar/export.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seminar/export.py b/seminar/export.py index 8445bda9..82a43fd5 100644 --- a/seminar/export.py +++ b/seminar/export.py @@ -80,7 +80,7 @@ class ExportRocnikView(generic.View): cislo = rocnik.posledni_zverejnena_vysledkovka_cislo() resitele = aktivniResitele(cislo, True) slovnik_body = vysledkovka.secti_body_za_rocnik(cislo, resitele, False) - _, setrizeni_resitele, body = vysledkovka.setrid_resitele_a_body(slovnik_body) + setrizeni_resitele, body = vysledkovka.setrid_resitele_a_body(slovnik_body) of = default_ovvpfile('MaM.rocnik', rocnik) of.headers['comment'] = u'MaM-Web export aktivnich resitelu rocniku {rocnik} do cisla {cislo}'.format(rocnik=rocnik, cislo=cislo)