Make sure DataName returns the correct value
This commit is contained in:
parent
b33a466c4f
commit
6544864741
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ class DataName(str, Enum):
|
|||
return repr(self.value)
|
||||
|
||||
def __str__(self):
|
||||
return repr(self)
|
||||
return self.value
|
||||
|
||||
|
||||
class DataItem:
|
||||
|
|
Loading…
Reference in a new issue