various smaller changes

This commit is contained in:
Jonathan Warren 2013-01-04 17:26:27 -05:00
parent afccad2925
commit c65238d3d2
1 changed files with 1 additions and 1 deletions

View File

@ -1046,7 +1046,7 @@ class receiveDataThread(QThread):
print 'we have the public key. sending it.'
#We have it. Let's send it.
for row in queryreturn:
hash, timeLastRequested = row
hash, transmitdata, timeLastRequested = row
if timeLastRequested < int(time.time())+604800: #if the last time anyone asked about this hash was this week, extend the time.
t = (int(time.time())+604800,hash)
sqlSubmitQueue.put('''UPDATE pubkeys set time=? WHERE hash=? ''')