TrackerZero: fix error in updateHashCache()
Reported to the upstream: https://github.com/HelloZeroNet/ZeroNet/issues/2095
This commit is contained in:
parent
2e1b0e093f
commit
96e935300c
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ class TrackerZeroDb(Db.Db):
|
|||
|
||||
def updateHashCache(self):
|
||||
res = self.execute("SELECT * FROM hash")
|
||||
self.hash_ids = {str(row["hash"]): row["hash_id"] for row in res}
|
||||
self.hash_ids = {row["hash"]: row["hash_id"] for row in res}
|
||||
self.log.debug("Loaded %s hash_ids" % len(self.hash_ids))
|
||||
|
||||
def checkTables(self):
|
||||
|
|
Loading…
Reference in a new issue