[FIX] hr_attendance.py: removed undefine name 'attr', 'attr_start'