mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Only branch feed if feed is OK on page and feed.
This commit is contained in:
parent
1243060820
commit
bf5107d5d8
1 changed files with 2 additions and 2 deletions
|
@ -316,7 +316,7 @@ def exception_change_feed_address(request):
|
|||
timezone = request.user.profile.timezone
|
||||
code = -1
|
||||
|
||||
if not feed.known_good and (feed.has_page_exception or feed.has_feed_exception):
|
||||
if (feed.has_page_exception or feed.has_feed_exception):
|
||||
# Fix broken feed
|
||||
logging.user(request, "~FRFixing feed exception by address: ~SB%s~SN to ~SB%s" % (feed.feed_address, feed_address))
|
||||
feed.has_feed_exception = False
|
||||
|
@ -400,7 +400,7 @@ def exception_change_feed_link(request):
|
|||
timezone = request.user.profile.timezone
|
||||
code = -1
|
||||
|
||||
if not feed.known_good and (feed.has_page_exception or feed.has_feed_exception):
|
||||
if (feed.has_page_exception or feed.has_feed_exception):
|
||||
# Fix broken feed
|
||||
logging.user(request, "~FRFixing feed exception by link: ~SB%s~SN to ~SB%s" % (feed.feed_link, feed_link))
|
||||
found_feed_urls = feedfinder.find_feeds(feed_link)
|
||||
|
|
Loading…
Add table
Reference in a new issue