aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlas Oliva <blasoliva@gmail.com>2015-01-20 23:23:57 -0300
committerBlas Oliva <blasoliva@gmail.com>2015-01-20 23:23:57 -0300
commit5d4383e4efbe24793392d28aa585baa1017d8362 (patch)
tree0a0e84de8bb8c2e2d5ce9ae47a95c326cf33c179
parent02484c17e66985c6e3dd3463bfd7b9b15f52b339 (diff)
downloadreebot-5d4383e4efbe24793392d28aa585baa1017d8362.tar.gz
reebot-5d4383e4efbe24793392d28aa585baa1017d8362.zip
more little things
-rwxr-xr-xrbot.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rbot.py b/rbot.py
index 558e305..836cdd2 100755
--- a/rbot.py
+++ b/rbot.py
@@ -49,7 +49,6 @@ class rBot:
49 49
50 # Server connection checker 50 # Server connection checker
51 if self.server.is_connected(): 51 if self.server.is_connected():
52 # Execute feed_refresh()
53 self.feed_refresh() 52 self.feed_refresh()
54 53
55 # Go into an infinite loop 54 # Go into an infinite loop
@@ -118,7 +117,8 @@ class rBot:
118 + " : " + entry.link ) 117 + " : " + entry.link )
119 # Update feeds log in the database 118 # Update feeds log in the database
120 self.db.log.insert( { "url" : entry.link } ) 119 self.db.log.insert( { "url" : entry.link } )
121 120
121 # Send newer feeds to the channel
122 while len( msgqueue ) > 0: 122 while len( msgqueue ) > 0:
123 msgq = msgqueue.pop() 123 msgq = msgqueue.pop()
124 for channel in channels_list: 124 for channel in channels_list: