1
0
mirror of https://github.com/moparisthebest/Simba synced 2024-11-05 17:05:19 -05:00

Small fix

This commit is contained in:
Merlijn Wajer 2010-04-02 12:00:40 +02:00
parent e74cd3a92a
commit 0c61053e07

View File

@ -48,7 +48,6 @@ class Mouse(object):
elif i in self._getButtons().keys():
res.append(self._getMouseButtonState(self._buttonToInt(i)))
else:
print i
raise MouseException('Invalid mouse button')
return res
@ -56,7 +55,7 @@ class Mouse(object):
if item == self.Pos:
return self._getMousePos()
if item in self._getButtons().keys():
return self_getMouseButtonState(self_buttonToInt(item))
return self._getMouseButtonState(self_buttonToInt(item))
raise MouseException('item is not iterable nor a (valid) string')