summaryrefslogtreecommitdiff
path: root/poezio/tabs
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2019-10-27 20:04:11 +0100
committermathieui <mathieui@mathieui.net>2019-10-27 20:04:11 +0100
commit8499f1cbc97c55dba6d47043972569df94f6a350 (patch)
tree6ab15d99fbabf76ffce1e1597825ebb20495f832 /poezio/tabs
parent5928f02bfc855fe3570e7916aa00a48cca9b6ef8 (diff)
downloadpoezio-8499f1cbc97c55dba6d47043972569df94f6a350.tar.gz
poezio-8499f1cbc97c55dba6d47043972569df94f6a350.tar.bz2
poezio-8499f1cbc97c55dba6d47043972569df94f6a350.tar.xz
poezio-8499f1cbc97c55dba6d47043972569df94f6a350.zip
Fix syntax warnings (thanks python 3.8)
Diffstat (limited to 'poezio/tabs')
-rw-r--r--poezio/tabs/basetabs.py2
1 files changed, 1 insertions, 1 deletions
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())