Changes, forgot
parent
6ca70afb78
commit
b0039f534c
|
@ -214,7 +214,7 @@ class OnionrCommunicate:
|
||||||
except requests.exceptions.RequestException as e:
|
except requests.exceptions.RequestException as e:
|
||||||
logger.warn(action + " failed with peer " + peer + ": " + str(e))
|
logger.warn(action + " failed with peer " + peer + ": " + str(e))
|
||||||
retData = False
|
retData = False
|
||||||
|
|
||||||
if not retData:
|
if not retData:
|
||||||
self.peerData[peer]['failCount'] += 1
|
self.peerData[peer]['failCount'] += 1
|
||||||
else:
|
else:
|
||||||
|
|
|
@ -383,7 +383,7 @@ class Core:
|
||||||
c = conn.cursor()
|
c = conn.cursor()
|
||||||
retData = ''
|
retData = ''
|
||||||
if unsaved:
|
if unsaved:
|
||||||
execute = 'SELECT hash FROM hashes where dataSaved != 1;'
|
execute = 'SELECT hash FROM hashes WHERE dataSaved != 1;'
|
||||||
else:
|
else:
|
||||||
execute = 'SELECT hash FROM hashes;'
|
execute = 'SELECT hash FROM hashes;'
|
||||||
for row in c.execute(execute):
|
for row in c.execute(execute):
|
||||||
|
|
Loading…
Reference in New Issue