Rev582, Fix my ip sending on findHashIds, Only start workers for optional files if peers found

This commit is contained in:
HelloZeroNet 2015-11-12 23:01:35 +01:00
parent ae98522855
commit 6763d6e74c
7 changed files with 21 additions and 15 deletions

View file

@ -341,8 +341,10 @@ class WorkerManager:
if optional_hash_id:
self.startFindOptional()
self.startWorkers(peers)
if peers:
self.startWorkers(peers)
else:
self.startWorkers(peers)
return evt
# Find a task using inner_path