From 1412dbc54cb2dd810c5a9b811b4c73173f4eb599 Mon Sep 17 00:00:00 2001 From: b3yond Date: Mon, 24 Sep 2018 19:46:21 +0200 Subject: [PATCH] simple var name error --- backend.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend.py b/backend.py index 45964a9..5e72c46 100755 --- a/backend.py +++ b/backend.py @@ -34,10 +34,10 @@ if __name__ == '__main__': reports = bot.crawl(user) for status in reports: if not user.is_appropriate(status): - logger.info("Inaproppriate message: %d %s %s" % (user.id, status.author, status.text)) + logger.info("Inaproppriate message: %d %s %s" % (user.uid, status.author, status.text)) for bot2 in bots: bot2.post(user, status) - logger.info("Resent: %d %s %s" % (user.id, status.author, status.text)) + logger.info("Resent: %d %s %s" % (user.uid, status.author, status.text)) except Exception: logger.error("Shutdown.", exc_info=True) shutdown()