Skip to content

Commit

Permalink
Fixed keyError->Attributeerror
Browse files Browse the repository at this point in the history
  • Loading branch information
amiller committed Dec 3, 2010
1 parent c6ebd92 commit f37ee8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pykinectwindow.py
Expand Up @@ -28,7 +28,7 @@ def wrapper(*args, **kwargs):
def _wrap(self, name, *args, **kwargs):
try:
self.__getattribute__(name)
except KeyError:
except AttributeError:
pass
else:
self.__getattribute__(name)(*args, **kwargs)
Expand Down

0 comments on commit f37ee8b

Please sign in to comment.