]> git.mxchange.org Git - quix0rs-apt-p2p.git/blobdiff - khashmir.py
bug fix in store value
[quix0rs-apt-p2p.git] / khashmir.py
index 104c9e949211160848889d16899c193457cb0d49..1722ad48ad9291a7375302b0035e45019ca297ed 100644 (file)
@@ -126,7 +126,7 @@ class Khashmir(xmlrpc.XMLRPC):
                    def default(err, node=node, table=table):
                        table.nodeFailed(node)
                    df = node.storeValue(key, value, self.node.senderDict())
-                   df.addCallbacks(cb, default)
+                   df.addCallback(cb)
        # this call is asynch
        self.findNode(key, _storeValueForKey)