Another bugfix

This commit is contained in:
ashish committed 2023-11-19 05:21:27 -06:00
1 parent 8a76bddbf1
commit cbddcee1f7
1 file changed
+1 -1
+1 -1
View File
@@ -45,7 +45,7 @@ class NtfyRouter:
def route_message(self, topic: str, title: str, message: str):
if topic in self._formatters['notification']:
notification_args = {notification_arg: self._formatters['notification'][topic][call_arg](topic=topic, title=title, message=message) for notification_arg in self._formatters['notification'][topic]}
notification_args = {notification_arg: self._formatters['notification'][topic][notification_arg](topic=topic, title=title, message=message) for notification_arg in self._formatters['notification'][topic]}
self._send_notification(user='ashish', priority='high', **notification_args)
elif topic in self._call_topics:
call_args = {call_arg: self._formatters['call'][topic][call_arg](topic=topic, title=title, message=message) for call_arg in self._formatters['call'][topic]}