aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/feedgetter.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyaggr3g470r/feedgetter.py')
-rw-r--r--pyaggr3g470r/feedgetter.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/pyaggr3g470r/feedgetter.py b/pyaggr3g470r/feedgetter.py
index ad4d8df6..6f8d6447 100644
--- a/pyaggr3g470r/feedgetter.py
+++ b/pyaggr3g470r/feedgetter.py
@@ -39,8 +39,8 @@ import conf
import search
import utils
-import log
-pyaggr3g470r_log = log.Log()
+#import log
+#pyaggr3g470r_log = log.Log()
list_of_threads = []
@@ -120,7 +120,7 @@ class FeedGetter(object):
description = BeautifulSoup(description, "html.parser").decode()
article_title = BeautifulSoup(article.title, "html.parser").decode()
except Exception as E:
- pyaggr3g470r_log.error("Problem when sanitizing the content of the feed: " + feed.link)
+ #pyaggr3g470r_log.error("Problem when sanitizing the content of the feed: " + feed.link)
article_title = article.title
try:
@@ -139,7 +139,7 @@ class FeedGetter(object):
search.add_to_index([article], feed)
except:
print("Whoosh error.")
- pyaggr3g470r_log.error("Whoosh error.")
+ #pyaggr3g470r_log.error("Whoosh error.")
continue
if conf.MAIL_ENABLED and feed["mail"]:
@@ -157,4 +157,4 @@ if __name__ == "__main__":
# Point of entry in execution mode
feed_getter = FeedGetter()
# Retrieve all feeds
- feed_getter.retrieve_feed() \ No newline at end of file
+ feed_getter.retrieve_feed()
bgstack15