mirror of https://github.com/mvt-project/mvt.git
Actually using self.log
This commit is contained in:
parent
b847683717
commit
8663c78b63
|
@ -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({
|
||||
|
|
Loading…
Reference in New Issue