From c71bc8574a231f2533984764ad40935969007ef5 Mon Sep 17 00:00:00 2001 From: b3yond Date: Wed, 28 Mar 2018 23:50:55 +0200 Subject: [PATCH] solved loop bug --- backend.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend.py b/backend.py index bba591a..98d5fd3 100755 --- a/backend.py +++ b/backend.py @@ -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)