Merge pull request #95 from Mikaela/defualt

src/EventManager.py: fix typo defualt -> default
This commit is contained in:
jesopo 2019-07-13 11:07:30 +01:00 committed by GitHub
commit e415afb12c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -87,9 +87,9 @@ class Events(object):
return self._call_limited(maximum, False, kwargs)
def call_for_result(self, default=None, **kwargs):
return (self._call_limited(1, True, kwargs) or [defualt])[0]
return (self._call_limited(1, True, kwargs) or [default])[0]
def call_for_result_unsafe(self, default=None, **kwargs):
return (self._call_limited(1, False, kwargs) or [defualt])[0]
return (self._call_limited(1, False, kwargs) or [default])[0]
def get_children(self):
return self._root._get_children(self._path)