mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-27 19:19:54 +00:00
Merge branch 'develop' of github.com:fritzy/SleekXMPP into develop
This commit is contained in:
commit
d0ccbf6b7a
1 changed files with 4 additions and 1 deletions
|
@ -493,7 +493,10 @@ class XMLStream(object):
|
|||
# processed in the queue.
|
||||
with self.__event_handlers_lock:
|
||||
handler_index = self.__event_handlers[name].index(handler)
|
||||
self.__event_handlers[name].pop(handler_index)
|
||||
try:
|
||||
self.__event_handlers[name].pop(handler_index)
|
||||
except:
|
||||
pass
|
||||
|
||||
def schedule(self, name, seconds, callback, args=None,
|
||||
kwargs=None, repeat=False):
|
||||
|
|
Loading…
Reference in a new issue