solved loop bug

This commit is contained in:
b3yond 2018-03-28 23:50:55 +02:00
parent bc41d7460c
commit c71bc8574a

View file

@ -28,8 +28,8 @@ if __name__ == '__main__':
for status in reports:
if not user.is_appropriate(status):
continue
for bot in bots:
bot.post(user, status)
for bot2 in bots:
bot2.post(user, status)
time.sleep(60) # twitter rate limit >.<
except:
logger.error('Shutdown', exc_info=True)