From 8663c78b631ca0bfb8d152cda70bff5707307ca2 Mon Sep 17 00:00:00 2001 From: Nex Date: Mon, 20 Jun 2022 18:29:39 +0200 Subject: [PATCH] Actually using self.log --- mvt/common/command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mvt/common/command.py b/mvt/common/command.py index 0771f80..36bf076 100644 --- a/mvt/common/command.py +++ b/mvt/common/command.py @@ -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({