From 8499f1cbc97c55dba6d47043972569df94f6a350 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sun, 27 Oct 2019 20:04:11 +0100 Subject: Fix syntax warnings (thanks python 3.8) --- poezio/tabs/basetabs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'poezio/tabs') diff --git a/poezio/tabs/basetabs.py b/poezio/tabs/basetabs.py index 4b8a261f..7749de6c 100644 --- a/poezio/tabs/basetabs.py +++ b/poezio/tabs/basetabs.py @@ -1040,7 +1040,7 @@ class OneToOneTab(ChatTab): @command_args_parser.raw def command_attention(self, message): """/attention [message]""" - if message is not '': + if message != '': self.command_say(message, attention=True) else: msg = self.core.xmpp.make_message(self.get_dest_jid()) -- cgit v1.2.3