1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-19 19:00:10 +01:00

[fix] pep8

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

View File

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