Merge branch 'main' into docs/ui/update-ui-readme

This commit is contained in:
blessedcoolant 2023-05-12 15:04:12 +12:00 committed by GitHub
commit 85d03dcd90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1228,7 +1228,7 @@ class ModelManager(object):
sha.update(chunk)
hash = sha.hexdigest()
toc = time.time()
self.logger.debug(f"sha256 = {hash} ({count} files hashed in", "%4.2fs)" % (toc - tic))
self.logger.debug(f"sha256 = {hash} ({count} files hashed in {toc - tic:4.2f}s)")
with open(hashpath, "w") as f:
f.write(hash)
return hash