From 45db5604753534bcb9b66efaff2676a1ec563d9a Mon Sep 17 00:00:00 2001 From: Chris Caron Date: Tue, 28 Dec 2021 13:47:42 -0500 Subject: [PATCH] Allow Reddit post to work without title specified (#510) --- apprise/plugins/NotifyReddit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apprise/plugins/NotifyReddit.py b/apprise/plugins/NotifyReddit.py index 2da5da86..8575cdec 100644 --- a/apprise/plugins/NotifyReddit.py +++ b/apprise/plugins/NotifyReddit.py @@ -465,7 +465,7 @@ class NotifyReddit(NotifyBase): 'api_type': 'json', 'extension': 'json', 'sr': subreddit, - 'title': title, + 'title': title if title else self.app_desc, 'kind': kind, 'nsfw': True if self.nsfw else False, 'resubmit': True if self.resubmit else False,