X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=plugins%2Frss_feed.py;h=3497c2ac5e1979d51518c511a0c4f6a25890953f;hb=94ceea8837b522ca907f5359126281f9cef7f5a0;hp=28b0efcc7346d79b322a90cab2e18bcca570e03f;hpb=bb671018362bdeb1f02aed6a873509f6d9cbb2fa;p=webber.git diff --git a/plugins/rss_feed.py b/plugins/rss_feed.py index 28b0efc..3497c2a 100644 --- a/plugins/rss_feed.py +++ b/plugins/rss_feed.py @@ -1,6 +1,11 @@ # -*- coding: iso-8859-1 -*- from webber import * -import os, datetime, PyRSS2Gen +import os, datetime +try: + import PyRSS2Gen +except ImportError: + print "rss_feed needs the python module PyRSS2Gen" + raise items = []