From a5a327388a464706d7dc31a3d251c410c2e2a882 Mon Sep 17 00:00:00 2001 From: pictuga Date: Wed, 25 Sep 2013 13:47:05 +0200 Subject: [PATCH] Add ability not to fetch an item's article --- morss.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/morss.py b/morss.py index fd82fbf..1a78ca6 100644 --- a/morss.py +++ b/morss.py @@ -311,6 +311,12 @@ def Fill(item, cache, feedurl='/', fast=False, clip=False): link = match[0] clip = True log(link) + else: + link = None + + if link is None: + log('no used link') + return True # check cache and previous errors if link in cache: