EdupageAPI / edupage-api

A python library for accessing your Edupage account
https://edupageapi.github.io/edupage-api/
GNU General Public License v3.0
67 stars 13 forks source link

[Bug] Non-number character in the classroom number #63

Closed ivanhrabcak closed 1 year ago

ivanhrabcak commented 1 year ago

Describe the bug There could be a classroom which uses other characters than numbers as the classroom number.

Error message

edupage_api\edupage_api__init__.py", line 114, in get_timetable
    return Timetables(self).get_timetable(date)
  File "C:\Users\xxx\AppData\Local\Programs\Python\Python311\Lib\site-packages\edupage_api\timetables.py", line 142, in get_timetable
    classroom_id = int(classroom_id_str)
ValueError: invalid literal for int() with base 10: '*24'

Version