aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlas Oliva <blasoliva@gmail.com>2015-01-20 00:43:53 -0300
committerBlas Oliva <blasoliva@gmail.com>2015-01-20 00:43:53 -0300
commit46d4480cdfff102c084b9f493dd6e0d1f5e39952 (patch)
tree42641d3f3ccb60a08433ca96794aacb959b06d17
parent6af5ea6abd7ca79fe6611f646208d143ee4aceed (diff)
downloadreebot-46d4480cdfff102c084b9f493dd6e0d1f5e39952.tar.gz
reebot-46d4480cdfff102c084b9f493dd6e0d1f5e39952.zip
Deployment MongoDB
-rwxr-xr-xrbot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rbot.py b/rbot.py
index 9d27dde..7dcfca4 100755
--- a/rbot.py
+++ b/rbot.py
@@ -95,7 +95,7 @@ class rBot:
95 95
96 # Loop over feeds entries 96 # Loop over feeds entries
97 for entry in feeds.entries: 97 for entry in feeds.entries:
98 url = entry.link.encode( 'utf-8' ) 98 url = entry.link
99 if self.db.log.find_one( { "url" : url } ) is None: 99 if self.db.log.find_one( { "url" : url } ) is None:
100 msgqueue.append( feed['name'] 100 msgqueue.append( feed['name']
101 + " | " + feeds.feed.title.encode( 'utf-8' ) 101 + " | " + feeds.feed.title.encode( 'utf-8' )