Clon1998 / mobileraker_companion

Companion for mobileraker, enabling push notification.
MIT License
209 stars 12 forks source link

Compatibility: fromisocalendar function requires Python 3.8+ #99

Closed khoanguyen-3fc closed 3 months ago

khoanguyen-3fc commented 3 months ago

The latest code in notification_config_dto.py uses the fromisocalendar function from the datetime module, which is available only in Python 3.8 and later.

See the relevant code: https://github.com/Clon1998/mobileraker_companion/blob/8947697a4cc4440488088a8b4b91f51c0344f0fe/mobileraker/data/dtos/mobileraker/notification_config_dto.py#L151-L153

For reference, here is the Python documentation for datetime.datetime.fromisocalendar.