Various small changes #21
|
@ -1046,7 +1046,7 @@ class receiveDataThread(QThread):
|
||||||
print 'we have the public key. sending it.'
|
print 'we have the public key. sending it.'
|
||||||
#We have it. Let's send it.
|
#We have it. Let's send it.
|
||||||
for row in queryreturn:
|
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.
|
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)
|
t = (int(time.time())+604800,hash)
|
||||||
sqlSubmitQueue.put('''UPDATE pubkeys set time=? WHERE hash=? ''')
|
sqlSubmitQueue.put('''UPDATE pubkeys set time=? WHERE hash=? ''')
|
||||||
|
|
Reference in New Issue
Block a user