From 67abd88ec2c9c4ff9878bca918db65849b586f1a Mon Sep 17 00:00:00 2001 From: Vicente Dragicevic Date: Sat, 7 Oct 2017 13:55:14 -0300 Subject: [PATCH] Fix await self.find() in crawler (#34) --- kademlia/crawling.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kademlia/crawling.py b/kademlia/crawling.py index ff867ab..a681051 100644 --- a/kademlia/crawling.py +++ b/kademlia/crawling.py @@ -141,7 +141,7 @@ class NodeSpiderCrawl(SpiderCrawl): if self.nearest.allBeenContacted(): return list(self.nearest) - return self.find() + return await self.find() class RPCFindResponse(object):