diff options
-rwxr-xr-x | source/pyAggr3g470r.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/pyAggr3g470r.py b/source/pyAggr3g470r.py index 116689c9..297c05a1 100755 --- a/source/pyAggr3g470r.py +++ b/source/pyAggr3g470r.py @@ -277,6 +277,8 @@ class pyAggr3g470r(object): nb_favorites = self.mongo.nb_favorites(feed_id) except KeyError: return self.error("<p>This feed do not exists.</p>") + if feed == None: + return self.error("<p>This feed do not exists.</p>") if articles.count() != 0: today = datetime.datetime.now() |