Couple of bug fixes

This commit is contained in:
Miroslav Štampar 2026-06-11 16:17:56 +02:00
parent be216041e2
commit 85b8d36620
4 changed files with 7 additions and 7 deletions

View file

@ -106,7 +106,7 @@ class HashDB(object):
if retVal is None:
retVal = self._read_cache.get(hash_)
if not retVal:
if retVal is None:
for _ in xrange(HASHDB_RETRIEVE_RETRIES):
try:
for row in self.cursor.execute("SELECT value FROM storage WHERE id=?", (hash_,)):