aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/conf.py6
-rwxr-xr-xsource/feedgetter.py4
2 files changed, 5 insertions, 5 deletions
diff --git a/source/conf.py b/source/conf.py
index 60289315..9f6724d5 100644
--- a/source/conf.py
+++ b/source/conf.py
@@ -39,8 +39,8 @@ path = os.path.abspath(".")
MONGODB_ADDRESS = config.get('MongoDB', 'address')
MONGODB_PORT = int(config.get('MongoDB', 'port'))
-MONGODB_USER = config.get('MongoDB', 'user')
-MONGODB_PASSWORD = config.get('MongoDB', 'password')
+#MONGODB_USER = config.get('MongoDB', 'user')
+#MONGODB_PASSWORD = config.get('MongoDB', 'password')
mail_from = config.get('mail','mail_from')
mail_to = config.get('mail','mail_to')
@@ -48,4 +48,4 @@ smtp_server = config.get('mail','smtp')
username = config.get('mail','username')
password = config.get('mail','password')
-DIASPORA_POD = config.get('misc', 'diaspora_pod') \ No newline at end of file
+DIASPORA_POD = config.get('misc', 'diaspora_pod')
diff --git a/source/feedgetter.py b/source/feedgetter.py
index 59322e6a..a9cdaf3e 100755
--- a/source/feedgetter.py
+++ b/source/feedgetter.py
@@ -50,7 +50,7 @@ class FeedGetter(object):
Initializes the base and variables.
"""
# MongoDB connections
- self.articles = mongodb.Articles()
+ self.articles = mongodb.Articles(conf.MONGODB_ADDRESS, conf.MONGODB_PORT)
def retrieve_feed(self):
"""
@@ -160,4 +160,4 @@ class FeedGetter(object):
if __name__ == "__main__":
# Point of entry in execution mode
feed_getter = FeedGetter()
- feed_getter.retrieve_feed() \ No newline at end of file
+ feed_getter.retrieve_feed()
bgstack15