2
0
mirror of https://github.com/searx/searx synced 2025-08-31 14:38:23 +00:00

[fix] pep8

This commit is contained in:
Adam Tauber
2020-07-14 22:00:24 +02:00
parent 7b93d11d84
commit 81e9c75534

View File

@@ -136,7 +136,7 @@ def fix_package_resources(pkg, name):
def sha_sum(filename): def sha_sum(filename):
with open(filename, "rb") as f: with open(filename, "rb") as f:
bytes = f.read() # read entire file as bytes bytes = f.read()
return sha256(bytes).hexdigest() return sha256(bytes).hexdigest()