diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2017-10-08 15:36:10 +0100 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2017-10-08 15:38:06 +0100 |
commit | f1b94534a44cf2301e59c3da3cfb0f2ec0931b85 (patch) | |
tree | c8ac2221e7844c35db0df8f1011ee8a3e1fcb5e0 /plugins/reminder.py | |
parent | b2b64426724bcbe6e58f7baab6434219fc8812ed (diff) | |
download | poezio-f1b94534a44cf2301e59c3da3cfb0f2ec0931b85.tar.gz poezio-f1b94534a44cf2301e59c3da3cfb0f2ec0931b85.tar.bz2 poezio-f1b94534a44cf2301e59c3da3cfb0f2ec0931b85.tar.xz poezio-f1b94534a44cf2301e59c3da3cfb0f2ec0931b85.zip |
Change all “not … in …” into “… not in …”.
Diffstat (limited to 'plugins/reminder.py')
-rw-r--r-- | plugins/reminder.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/reminder.py b/plugins/reminder.py index 8fc5eb0a..b26ca4a0 100644 --- a/plugins/reminder.py +++ b/plugins/reminder.py @@ -118,7 +118,7 @@ class Plugin(BasePlugin): id_ = int(arg) except: return - if not id_ in self.tasks: + if id_ not in self.tasks: return self.api.information('Task %s: %s [DONE]' % (id_, self.tasks[id_][1]), 'Info') @@ -136,7 +136,7 @@ class Plugin(BasePlugin): self.api.information(s, 'Info') def remind(self, id_=0): - if not id_ in self.tasks: + if id_ not in self.tasks: return self.api.information('Task %s: %s' % (id_, self.tasks[id_][1]), 'Info') if self.config.get('beep', '') == 'true': |