python: add missing return

This commit is contained in:
Adrien Béraud committed 2015-08-25 15:01:14 +02:00
1 parent 6182dce1ad
commit 3cee7c579b
1 file changed
+1 -1
+1 -1
View File
@@ -120,7 +120,7 @@ cdef class Value(object):
return self._value.get().toString().decode()
property data:
def __get__(self):
string(<char*>self._value.get().data.data(), self._value.get().data.size())
return string(<char*>self._value.get().data.data(), self._value.get().data.size())
def __set__(self, bytes value):
self._value.get().data = value