summaryrefslogtreecommitdiff
path: root/plugins/reminder.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/reminder.py')
-rw-r--r--plugins/reminder.py4
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':