Fix delicious exception so it is properly eaten

pull/8/head
Trevor Joynson (trevorj) 2017-07-06 17:37:24 -07:00
rodzic a093876058
commit f7d84737f9
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -140,7 +140,7 @@ class PluginManager:
def clean_fired_events(future):
try:
self._fired_events.remove(task)
except KeyError:
except ValueError:
pass
task.add_done_callback(clean_fired_events)