mirror of https://github.com/caronc/apprise
Allow Reddit post to work without title specified (#510)
parent
12326c755b
commit
45db560475
|
@ -465,7 +465,7 @@ class NotifyReddit(NotifyBase):
|
||||||
'api_type': 'json',
|
'api_type': 'json',
|
||||||
'extension': 'json',
|
'extension': 'json',
|
||||||
'sr': subreddit,
|
'sr': subreddit,
|
||||||
'title': title,
|
'title': title if title else self.app_desc,
|
||||||
'kind': kind,
|
'kind': kind,
|
||||||
'nsfw': True if self.nsfw else False,
|
'nsfw': True if self.nsfw else False,
|
||||||
'resubmit': True if self.resubmit else False,
|
'resubmit': True if self.resubmit else False,
|
||||||
|
|
Loading…
Reference in New Issue