aboutsummaryrefslogtreecommitdiff
path: root/wikiget/validations.py
diff options
context:
space:
mode:
Diffstat (limited to 'wikiget/validations.py')
-rw-r--r--wikiget/validations.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wikiget/validations.py b/wikiget/validations.py
index c0aa90d..dc70df4 100644
--- a/wikiget/validations.py
+++ b/wikiget/validations.py
@@ -55,7 +55,7 @@ def verify_hash(filename):
:param filename: name of the file to calculate a hash for
:return: hash digest
"""
- hasher = hashlib.sha1()
+ hasher = hashlib.sha1() # noqa: S324
with open(filename, "rb") as dl:
buf = dl.read(BLOCKSIZE)
while len(buf) > 0: