Allow Reddit post to work without title specified (#510)

This commit is contained in:
Chris Caron 2021-12-28 13:47:42 -05:00 committed by GitHub
parent 12326c755b
commit 45db560475
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,