mirror of
https://github.com/home-assistant/core.git
synced 2025-07-11 07:17:12 +00:00
parent
ae5dfbdf55
commit
d570d38d5c
@ -22,7 +22,7 @@ def get_service(hass, config):
|
|||||||
"""Get the GNTP notification service."""
|
"""Get the GNTP notification service."""
|
||||||
if config.get('app_icon') is None:
|
if config.get('app_icon') is None:
|
||||||
icon_file = os.path.join(os.path.dirname(__file__), "..", "frontend",
|
icon_file = os.path.join(os.path.dirname(__file__), "..", "frontend",
|
||||||
"www_static", "favicon-192x192.png")
|
"www_static", "icons", "favicon-192x192.png")
|
||||||
app_icon = open(icon_file, 'rb').read()
|
app_icon = open(icon_file, 'rb').read()
|
||||||
else:
|
else:
|
||||||
app_icon = config.get('app_icon')
|
app_icon = config.get('app_icon')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user