Update PeerDbPlugin.py
This commit is contained in:
parent
21d0b829d3
commit
8db16a1421
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ class ContentDbPlugin(object):
|
||||||
"INSERT INTO peer (site_id, address, port, hashfield, time_added) VALUES (?, ?, ?, ?, ?)",
|
"INSERT INTO peer (site_id, address, port, hashfield, time_added) VALUES (?, ?, ?, ?, ?)",
|
||||||
self.iteratePeers(site)
|
self.iteratePeers(site)
|
||||||
)
|
)
|
||||||
except Exception, err:
|
except Exception as err:
|
||||||
site.log.error("Save peer error: %s" % err)
|
site.log.error("Save peer error: %s" % err)
|
||||||
finally:
|
finally:
|
||||||
cur.execute("END")
|
cur.execute("END")
|
||||||
|
|
Loading…
Reference in a new issue