Changes, forgot

This commit is contained in:
Arinerron 2018-02-21 22:42:02 -08:00
parent 6ca70afb78
commit b0039f534c
No known key found for this signature in database
GPG Key ID: 99383627861C62F0
2 changed files with 2 additions and 2 deletions

View File

@ -214,7 +214,7 @@ class OnionrCommunicate:
except requests.exceptions.RequestException as e:
logger.warn(action + " failed with peer " + peer + ": " + str(e))
retData = False
if not retData:
self.peerData[peer]['failCount'] += 1
else:

View File

@ -383,7 +383,7 @@ class Core:
c = conn.cursor()
retData = ''
if unsaved:
execute = 'SELECT hash FROM hashes where dataSaved != 1;'
execute = 'SELECT hash FROM hashes WHERE dataSaved != 1;'
else:
execute = 'SELECT hash FROM hashes;'
for row in c.execute(execute):