mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 04:21:51 +00:00
python: add missing return
This commit is contained in:
1 parent
6182dce1ad
commit
3cee7c579b
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user