aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlas Oliva <blasoliva@gmail.com>2015-03-04 13:22:00 -0300
committerBlas Oliva <blasoliva@gmail.com>2015-03-04 13:22:00 -0300
commitb717249ed3de0d47e6406c6661e475cfaa39f516 (patch)
tree7eaf704f109660c6818fa4ea407df59dbb3443b9
parent6c00291c8dc998545bb4f4a801fc112293475f33 (diff)
downloadreebot-b717249ed3de0d47e6406c6661e475cfaa39f516.tar.gz
reebot-b717249ed3de0d47e6406c6661e475cfaa39f516.zip
Inserto sleep() despues de cada linea en que se envĂ­a un mensaje
-rwxr-xr-xreebot.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/reebot.py b/reebot.py
index 58bd6d9..8b3d451 100755
--- a/reebot.py
+++ b/reebot.py
@@ -148,8 +148,7 @@ class rBot:
148 msgq = msgqueue.pop() 148 msgq = msgqueue.pop()
149 for channel in channels_list: 149 for channel in channels_list:
150 self.sendmessage( channel, msgq ) 150 self.sendmessage( channel, msgq )
151 151 time.sleep(1)
152 time.sleep(2)
153 # Refresh interval (every X seconds) 152 # Refresh interval (every X seconds)
154 threading.Timer( 10, self.feed_refresh ).start() 153 threading.Timer( 10, self.feed_refresh ).start()
155 154