diff --git a/dynamicserialize/dstypes/com/raytheon/uf/common/datastorage/records/StringDataRecord.py b/dynamicserialize/dstypes/com/raytheon/uf/common/datastorage/records/StringDataRecord.py index c8eef9b..b1ae8c9 100644 --- a/dynamicserialize/dstypes/com/raytheon/uf/common/datastorage/records/StringDataRecord.py +++ b/dynamicserialize/dstypes/com/raytheon/uf/common/datastorage/records/StringDataRecord.py @@ -30,8 +30,8 @@ class StringDataRecord(AbstractDataRecord): else: from pypies.impl.H5pyDataStore import vlen_str_type as dtype #dtype.set_strpad(h5t.STR_NULLTERM) - numpyData = numpy.asarray(self.getStringData(), dtype) - return numpyData + return numpy.asarray(self.getStringData(), dtype) + return self.numpyData def putDataObject(self, obj): self.setStringData(obj)