Added missing Handle in to_struct in refbase
This commit is contained in:
parent
a72c6eac96
commit
ce07c7e15f
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user