forked from Ponysearch/Ponysearch
[fix] pep8
This commit is contained in:
parent
7b93d11d84
commit
81e9c75534
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue