1
0

Fix notification icon path issue and update readme

Signed-off-by: MK13 <marius@kleberonline.de>
This commit is contained in:
2021-10-14 23:53:04 +02:00
parent 27f796b702
commit 9efb82736d
2 changed files with 6 additions and 2 deletions

View File

@@ -4,6 +4,7 @@ import re
import subprocess
import argparse
from notifypy import Notify
import os
feedparser.USER_AGENT = "anime-rss/1.0"
@@ -35,7 +36,7 @@ def send_notification(message):
notification = Notify()
notification.title = "anime-rss"
notification.message = message
notification.icon = "notfication-icon.png"
notification.icon = os.path.dirname(os.path.realpath(__file__)) + "/notfication-icon.png"
notification.send()