mirror of
https://github.com/searxng/searxng.git
synced 2024-11-26 12:51:02 +00:00
[fix] pep8
This commit is contained in:
parent
7b93d11d84
commit
81e9c75534
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue