I have a little problem with Plyer library, I'm trying to custom a notification's appereance but evrything is okay until I try to replace the default icon of the notification, here's my code:
from plyer import notification
notification.notify(title='Managen', message='Notification',app_icon = r'C:\Users\Santiago\Pictures\icon.ico',timeout = 10)
This is the output:
Exception in thread Thread-1:
Traceback (most recent call last):
File "C:\Users\Santiago\AppData\Local\Programs\Python\Python38-32\lib\threading.py", line 932, in _bootstrap_inner
self.run()
File "C:\Users\Santiago\AppData\Local\Programs\Python\Python38-32\lib\threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\Santiago\AppData\Local\Programs\Python\Python38-32\lib\site-packages\plyer\platforms\win\libs\balloontip.py", line 208, in balloon_tip
WindowsBalloonTip(**kwargs)
File "C:\Users\Santiago\AppData\Local\Programs\Python\Python38-32\lib\site-packages\plyer\platforms\win\libs\balloontip.py", line 132, in __init__
raise Exception('Could not load icon {}'.format(app_icon))
Exception: Could not load icon C:\Users\Santiago\Pictures\icon.ico
I don't know what is exactly happening, if you could help me it'd be great, beforehand thanks.