From 9f89165150b283ad5307233328d955404348fa64 Mon Sep 17 00:00:00 2001 From: Jonathan Weth <git@jonathanweth.de> Date: Sat, 13 Jul 2019 18:42:19 +0200 Subject: [PATCH] some --- biscuit/apps/untis/api.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/biscuit/apps/untis/api.py b/biscuit/apps/untis/api.py index 4d8e8ec..c36ea48 100755 --- a/biscuit/apps/untis/api.py +++ b/biscuit/apps/untis/api.py @@ -290,12 +290,11 @@ class Absence(object): def create(self, db_obj): self.filled = True - # print(db_obj.ida) + print(db_obj.ida) print(db_obj.typea) self.type = TYPE_TEACHER if db_obj.typea != 102 else TYPE_ROOM if self.type == TYPE_TEACHER: self.teacher = get_teacher_by_id(db_obj.ida) - else: self.room = get_room_by_id(db_obj.ida) self.from_date = untis_date_to_date(db_obj.datefrom) -- GitLab