Added missing Handle in to_struct in refbase
This commit is contained in:
1 parent
a72c6eac96
commit
ce07c7e15f
1 file changed
+2
-1
@@ -70,7 +70,8 @@ class RefBase(object):
|
||||
:returns: Returns a struct containing the data of the object.
|
||||
:rtype: str
|
||||
"""
|
||||
return self.ref
|
||||
## Return name of referenced item (remove "Ref" from name)
|
||||
return Handle(self.__class__.__name__[:-3], self.ref)
|
||||
|
||||
@classmethod
|
||||
def from_struct(cls, struct):
|
||||
|
||||
Reference in new issue
Block a user