mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Fixing broken story url.
This commit is contained in:
parent
22ae0e65e4
commit
43d1339ef0
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ class TextImporter:
|
|||
}
|
||||
|
||||
def fetch(self, skip_save=False, return_document=False):
|
||||
if any(broken_url in self.story_url for broken_url in BROKEN_URLS):
|
||||
if self.story_url and any(broken_url in self.story_url for broken_url in BROKEN_URLS):
|
||||
logging.user(self.request, "~SN~FRFailed~FY to fetch ~FGoriginal text~FY: banned")
|
||||
return
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue