Actually using self.log

This commit is contained in:
Nex 2022-06-20 18:29:39 +02:00
parent b847683717
commit 8663c78b63
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ class Command(object):
with open(file_path, "rb") as handle:
h.update(handle.read())
except PermissionError:
log.error("Failed to hash the file %s: permission denied", file_path)
self.log.error("Failed to hash the file %s: permission denied", file_path)
continue
info["hashes"].append({