mirror of
https://github.com/searxng/searxng.git
synced 2025-12-23 04:00:02 +00:00
[mod] pylint: numerous minor code fixes
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user