-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Teacher free days traceback #6
Comments
Owow, sorry nie zauważyłem issua :( Wygląda mi jakby librusik dostał id nieistniejącego nauczyciela? Nie mam dostępu do librusa już, ale możemy spróbować klasycznie wsadzić ten kawałek kodu w |
git chyba wyłapuje słowo 'fix' w commicie Daj znać czy partyzancki fix pomógł xD |
Jakimś cudem to naprawiłem, że jak jest to ID nauczyciela to ignoruje i no teraz sie staram jak zrobić, żeby ogłoszenia zrobić |
Zaraz spróbuje tego fixa czy działa |
W toolsach masz |
Przy próbie odpalenia nieobecności nauczycieli, wyrzuca błąd:
Traceback (most recent call last):
File "C:\Users\czerw\Downloads\librusik-stable\librusik-stable\librusik.py", line 881, in teacherfreedays
result = (await librus.get_teacher_free_days())[::-1]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\czerw\Downloads\librusik-stable\librusik-stable\lib\api\librus.py", line 208, in get_teacher_free_days
i["Teacher"] = teachers[i["Teacher"]["Id"]]
^^^^^^^^^^^^^^^^^^^^
KeyError: 2020133
The text was updated successfully, but these errors were encountered: