Skip to content

Commit

Permalink
[fix] toast icon path (#3628)
Browse files Browse the repository at this point in the history
  • Loading branch information
skrattaren committed Dec 7, 2022
1 parent efd3c8b commit 4af128f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flexget/components/notify/notifiers/toast.py
Expand Up @@ -64,7 +64,7 @@ def mac_notify(self, title, message, config):
try:
import flexget.ui

icon_path = os.path.join(flexget.ui.__path__[0], 'src', 'favicon.ico')
icon_path = os.path.join(flexget.ui.__path__[0], 'v1', 'app', 'favicon.ico')
except Exception as e:
logger.debug('Error trying to get flexget icon from webui folder: {}', e)

Expand Down Expand Up @@ -169,7 +169,7 @@ def windows_notify(self, title, message, config):
try:
import flexget.ui

icon_path = os.path.join(flexget.ui.__path__[0], 'src', 'favicon.ico')
icon_path = os.path.join(flexget.ui.__path__[0], 'v1', 'app', 'favicon.ico')
hicon = LoadImage(hinst, icon_path, IMAGE_ICON, 0, 0, icon_flags)
except Exception as e:
logger.debug('Error trying to get flexget icon from webui folder: {}', e)
Expand Down

0 comments on commit 4af128f

Please sign in to comment.