fix bug not posting github releases to wallabag
This commit is contained in:
parent
04134506c3
commit
c8040269ba
1 changed files with 2 additions and 2 deletions
4
main.py
4
main.py
|
@ -81,8 +81,8 @@ for sitetitle, site in sites.items():
|
|||
title = sitetitle + ": " + article.title
|
||||
else:
|
||||
title = article.title
|
||||
if "debug" not in config or not config["debug"]:
|
||||
wall.post_entries(url=article.link, title=title, tags=tags)
|
||||
if "debug" not in config or not config["debug"]:
|
||||
wall.post_entries(url=article.link, title=title, tags=tags)
|
||||
else:
|
||||
logger.debug(sitetitle + ": no latest_article")
|
||||
if f.entries:
|
||||
|
|
Reference in a new issue