mirror of
https://github.com/searxng/searxng.git
synced 2025-07-16 09:49:21 +02:00
[mod] pylint: numerous minor code fixes
This commit is contained in:
parent
9ed3ee2beb
commit
b00d108673
24 changed files with 48 additions and 64 deletions
|
@ -158,8 +158,8 @@ def prepare_package_resources(pkg, name):
|
|||
|
||||
def sha_sum(filename):
|
||||
with open(filename, "rb") as f:
|
||||
bytes = f.read()
|
||||
return sha256(bytes).hexdigest()
|
||||
file_content_bytes = f.read()
|
||||
return sha256(file_content_bytes).hexdigest()
|
||||
|
||||
|
||||
plugins = PluginStore()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue