Only return one item for certain API commands

This commit is contained in:
Jonathan Warren 2013-07-31 12:08:56 -04:00
parent ef7d602bb6
commit cddfe2c44f
2 changed files with 6 additions and 5 deletions

View File

@ -414,7 +414,8 @@ class singleWorker(threading.Thread):
objectType = 'broadcast'
shared.inventory[inventoryHash] = (
objectType, streamNumber, payload, int(time.time()))
print 'sending inv (within sendBroadcast function)'
with shared.printLock:
print 'sending inv (within sendBroadcast function) for object:', inventoryHash.encode('hex')
shared.broadcastToSendDataQueues((
streamNumber, 'sendinv', inventoryHash))