From 3cee7c579b167483d370c43b04062a775e8dae5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20B=C3=A9raud?= Date: Tue, 25 Aug 2015 15:01:14 +0200 Subject: [PATCH] python: add missing return --- python/opendht.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/opendht.pyx b/python/opendht.pyx index 574596f2..75400685 100644 --- a/python/opendht.pyx +++ b/python/opendht.pyx @@ -120,7 +120,7 @@ cdef class Value(object): return self._value.get().toString().decode() property data: def __get__(self): - string(self._value.get().data.data(), self._value.get().data.size()) + return string(self._value.get().data.data(), self._value.get().data.size()) def __set__(self, bytes value): self._value.get().data = value