mirror of
https://github.com/searxng/searxng
synced 2024-01-01 18:24:07 +00:00
[fix] pep8
This commit is contained in:
parent
7b93d11d84
commit
81e9c75534
@ -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()
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user