From a2062cc423b26f355f11cc994114067629443ba5 Mon Sep 17 00:00:00 2001 From: burris Date: Fri, 13 Sep 2002 21:25:59 +0000 Subject: [PATCH] call from thread --- khashmir.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 2.39.5