aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pyaggr3g470r/feedgetter.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pyaggr3g470r/feedgetter.py b/pyaggr3g470r/feedgetter.py
index 7b157211..c7f7f81e 100644
--- a/pyaggr3g470r/feedgetter.py
+++ b/pyaggr3g470r/feedgetter.py
@@ -57,8 +57,7 @@ class FeedGetter(object):
"""
Initializes the database connection.
"""
- #feedparser.USER_AGENT = conf.USER_AGENT
- feedparser.USER_AGENT = "pyAggr3g470r"
+ feedparser.USER_AGENT = conf.USER_AGENT
if conf.HTTP_PROXY == "":
self.proxy = urllib2.ProxyHandler({})
else:
bgstack15