src/EventManager.py: fix typo defualt -> default

This commit is contained in:
Mikaela Suomalainen 2019-07-13 13:04:37 +03:00
parent 89c12e845a
commit 2f18414cb7
No known key found for this signature in database
GPG key ID: 0C207F07B2F32B67

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)