kopia lustrzana https://github.com/Yakifo/amqtt
Fix delicious exception so it is properly eaten
rodzic
a093876058
commit
f7d84737f9
|
@ -140,7 +140,7 @@ class PluginManager:
|
||||||
def clean_fired_events(future):
|
def clean_fired_events(future):
|
||||||
try:
|
try:
|
||||||
self._fired_events.remove(task)
|
self._fired_events.remove(task)
|
||||||
except KeyError:
|
except ValueError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
task.add_done_callback(clean_fired_events)
|
task.add_done_callback(clean_fired_events)
|
||||||
|
|
Ładowanie…
Reference in New Issue