diff options
author | cedricbonhomme <devnull@localhost> | 2010-10-20 07:30:51 +0200 |
---|---|---|
committer | cedricbonhomme <devnull@localhost> | 2010-10-20 07:30:51 +0200 |
commit | 583455366e3d56166bde54de9dc0771b89b94767 (patch) | |
tree | 29c5847d3606a1c91510ec1f4382aa85da1633eb | |
parent | Automatically added a new stream for test. Success ;-) (diff) | |
download | newspipe-583455366e3d56166bde54de9dc0771b89b94767.tar.gz newspipe-583455366e3d56166bde54de9dc0771b89b94767.tar.bz2 newspipe-583455366e3d56166bde54de9dc0771b89b94767.zip |
Minor bugfix when detecting an RSS stream in a Web page.
-rwxr-xr-x | pyAggr3g470r.py | 2 | ||||
-rwxr-xr-x | var/feed.lst | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py index 584ec9a5..48f0f8f2 100755 --- a/pyAggr3g470r.py +++ b/pyAggr3g470r.py @@ -944,7 +944,7 @@ class Root: # search the feed in the HTML page with BeautifulSoup feed_url = utils.search_feed(url) if feed_url is None: - self.error_page("Impossible to find a feed at this URL.") + return self.error_page("Impossible to find a feed at this URL.") # if a feed exists else: result = utils.add_feed(feed_url) diff --git a/var/feed.lst b/var/feed.lst index 997243ae..236b3e09 100755 --- a/var/feed.lst +++ b/var/feed.lst @@ -30,3 +30,4 @@ http://www.schneier.com/blog/index.rdf http://www.handcrafted-games.com/index.php?feed/atom http://feeds.feedburner.com/quuxlabs http://python-history.blogspot.com/feeds/posts/default +http://news.ycombinator.com/rss |