summaryrefslogtreecommitdiff
path: root/poezio
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2017-07-21 16:29:07 +0100
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2017-07-21 16:29:07 +0100
commit51b908348e16125c458b7b5d0a97839085b1d83f (patch)
tree2fb53d68d70094f894786d3994410cc5bc1ffc5b /poezio
parent93129fb06421520f967e80e2f14149e0d4219a3a (diff)
downloadpoezio-51b908348e16125c458b7b5d0a97839085b1d83f.tar.gz
poezio-51b908348e16125c458b7b5d0a97839085b1d83f.tar.bz2
poezio-51b908348e16125c458b7b5d0a97839085b1d83f.tar.xz
poezio-51b908348e16125c458b7b5d0a97839085b1d83f.zip
Simplify double negation.
Diffstat (limited to 'poezio')
-rw-r--r--poezio/core/handlers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/core/handlers.py b/poezio/core/handlers.py
index 9fe42a0d..e38fcbda 100644
--- a/poezio/core/handlers.py
+++ b/poezio/core/handlers.py
@@ -315,7 +315,7 @@ class HandlerCore:
delayed, date = common.find_delayed_tag(message)
def try_modify():
- if not message.xml.find('{urn:xmpp:message-correct:0}replace') is not None:
+ if message.xml.find('{urn:xmpp:message-correct:0}replace') is None:
return False
replaced_id = message['replace']['id']
if replaced_id and config.get_by_tabname('group_corrections',