Skip to content

Commit

Permalink
Fixed status icons not being shown (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartorSkull authored Feb 13, 2020
1 parent e0cc289 commit 32befa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmus_notify/notifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def send_notification(arguments, information):
notification = notify2.Notification(
title,
text,
ICONS_BY_STATUS.get('icon_path', DEFAULT_ICON_PATH)
ICONS_BY_STATUS.get(information.status.lower(), DEFAULT_ICON_PATH)
)
notification.set_urgency(arguments.get('urgency', notify2.URGENCY_LOW))
notification.timeout = arguments.get('timeout', DEFAULT_TIMEOUT)
Expand Down

0 comments on commit 32befa8

Please sign in to comment.