From ad2673f47426aca6d368f1ff0f43c004f1bfe6a1 Mon Sep 17 00:00:00 2001 From: pictuga Date: Thu, 6 Nov 2014 21:14:41 +0100 Subject: [PATCH] Add :emtpy to remove all items This is completely useless... --- morss/morss.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/morss/morss.py b/morss/morss.py index c3ff96b..94ddf11 100644 --- a/morss/morss.py +++ b/morss/morss.py @@ -674,6 +674,10 @@ def After(rss, options): del item.desc del item.content + if options.empty: + item.remove() + continue + if options.search: if options.search not in item.title: item.remove()