From 042eacd00478ad9c41e2e1c0de1d36dd43024629 Mon Sep 17 00:00:00 2001 From: Dryusdan Date: Tue, 19 Jun 2018 22:38:08 +0200 Subject: [PATCH] correct newbe mistake --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 40e6e38..fe7b73f 100755 --- a/bot.py +++ b/bot.py @@ -50,7 +50,7 @@ class BotListener(StreamListener): id = notification['status']['id'] sender = notification['account']['acct'] visibility = notification['status']['visibility'] - if visibility = 'public': + if visibility == 'public': visibility = 'unlisted' mentions = notification['status']['mentions'] text = "@" + notification['status']["account"]["acct"] + " "