solved loop bug
This commit is contained in:
parent
bc41d7460c
commit
c71bc8574a
|
@ -28,8 +28,8 @@ if __name__ == '__main__':
|
||||||
for status in reports:
|
for status in reports:
|
||||||
if not user.is_appropriate(status):
|
if not user.is_appropriate(status):
|
||||||
continue
|
continue
|
||||||
for bot in bots:
|
for bot2 in bots:
|
||||||
bot.post(user, status)
|
bot2.post(user, status)
|
||||||
time.sleep(60) # twitter rate limit >.<
|
time.sleep(60) # twitter rate limit >.<
|
||||||
except:
|
except:
|
||||||
logger.error('Shutdown', exc_info=True)
|
logger.error('Shutdown', exc_info=True)
|
||||||
|
|
Loading…
Reference in a new issue