From 3317604c6544a488bec749c06a52382971b60790 Mon Sep 17 00:00:00 2001 From: mathieui Date: Thu, 12 Oct 2017 01:23:40 +0200 Subject: Fix some excepts (bare, useless, unused) --- plugins/reminder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/reminder.py b/plugins/reminder.py index b26ca4a0..e3ba64cb 100644 --- a/plugins/reminder.py +++ b/plugins/reminder.py @@ -116,7 +116,7 @@ class Plugin(BasePlugin): def command_done(self, arg="0"): try: id_ = int(arg) - except: + except ValueError: return if id_ not in self.tasks: return -- cgit v1.2.3