mirror of
https://github.com/caronc/apprise.git
synced 2024-11-08 09:14:53 +01:00
Allow Reddit post to work without title specified (#510)
This commit is contained in:
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
Block a user