forked from ticketfrei/ticketfrei
weird log logic
This commit is contained in:
parent
b20a080129
commit
b94ead7041
|
@ -35,6 +35,7 @@ if __name__ == '__main__':
|
||||||
for status in reports:
|
for status in reports:
|
||||||
if not user.is_appropriate(status):
|
if not user.is_appropriate(status):
|
||||||
logger.info("Inaproppriate message: %d %s %s" % (user.uid, status.author, status.text))
|
logger.info("Inaproppriate message: %d %s %s" % (user.uid, status.author, status.text))
|
||||||
|
continue
|
||||||
for bot2 in bots:
|
for bot2 in bots:
|
||||||
bot2.post(user, status)
|
bot2.post(user, status)
|
||||||
logger.info("Resent: %d %s %s" % (user.uid, status.author, status.text))
|
logger.info("Resent: %d %s %s" % (user.uid, status.author, status.text))
|
||||||
|
|
Loading…
Reference in a new issue