Помогите с циклом python win10toast
Выдаёт ошибку когда я написал duration=None
Ошибка: TypeError: 'NoneType' object cannot be interpreted as an integer.
Код:
from win10toast import ToastNotifier
toast = ToastNotifier()
toast.show_toast("Notification", "This is test notification.", duration=None)