fixed most function issues

This commit is contained in:
Dave Halter
2014-01-10 00:52:39 +01:00
parent 9056dc1b9b
commit 59b379ccc5

View File

@@ -63,7 +63,7 @@ class PyObject(Base):
@property
def name(self):
# might not exist sometimes (raises AttributeError)
return self.obj.__name__
return self._cls().obj.__name__
def execute(self, params):
t = self.type()