Island: Remove redundant file name in commit hash log message

This commit is contained in:
Mike Salvatore 2022-03-02 06:42:06 -05:00
parent 279aed36af
commit 932d4401d8
1 changed files with 2 additions and 2 deletions

View File

@ -42,8 +42,8 @@ class MonkeyDownload(flask_restful.Resource):
if filepath.is_file(): if filepath.is_file():
with open(filepath, "rb") as monkey_exec_file: with open(filepath, "rb") as monkey_exec_file:
file_contents = monkey_exec_file.read() file_contents = monkey_exec_file.read()
file_sha256_hash = filename, hashlib.sha256(file_contents).hexdigest() file_sha256_hash = hashlib.sha256(file_contents).hexdigest()
logger.debug(f"{filename} hash:\nSHA-256 {file_sha256_hash}") logger.debug(f"{filename} SHA-256 hash: {file_sha256_hash}")
else: else:
logger.debug(f"No monkey executable for {filepath}") logger.debug(f"No monkey executable for {filepath}")