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: 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)