aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlas Oliva <blasoliva@gmail.com>2015-01-20 00:48:18 -0300
committerBlas Oliva <blasoliva@gmail.com>2015-01-20 00:48:18 -0300
commit532e3cff1e58693a0df735fa3007cf581a205331 (patch)
tree54b214623ac9be637125782d2066cb7305491aca
parent46d4480cdfff102c084b9f493dd6e0d1f5e39952 (diff)
downloadreebot-532e3cff1e58693a0df735fa3007cf581a205331.tar.gz
reebot-532e3cff1e58693a0df735fa3007cf581a205331.zip
Deployment MongoDB
-rwxr-xr-xrbot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rbot.py b/rbot.py
index 7dcfca4..37ba468 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 98 url = entry.link.encode( 'utf-8','ignore' )
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' )