From: burris Date: Fri, 13 Sep 2002 21:25:59 +0000 (+0000) Subject: call from thread X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a2062cc423b26f355f11cc994114067629443ba5;p=quix0rs-apt-p2p.git call from thread --- diff --git a/khashmir.py b/khashmir.py index ece2851..509725b 100644 --- a/khashmir.py +++ b/khashmir.py @@ -99,8 +99,7 @@ class Khashmir(xmlrpc.XMLRPC): # get locals l = self.retrieveValues(key) if len(l) > 0: - callback(l) - + reactor.callFromThread(callback, l) ## async, but in the current implementation there is no guarantee a store does anything so there is no callback right now