diff options
| author | Alexandre Flament <alex@al-f.net> | 2020-11-16 09:43:23 +0100 |
|---|---|---|
| committer | Alexandre Flament <alex@al-f.net> | 2020-12-01 15:21:19 +0100 |
| commit | b00d108673082fc2487b2d122db00d988f561427 (patch) | |
| tree | 51b5324935f24864730d705efd9f4f6a9dea465f /searx/plugins | |
| parent | 9ed3ee2bebf2f159d4231d9aad9df53aea6db90a (diff) | |
[mod] pylint: numerous minor code fixes
Diffstat (limited to 'searx/plugins')
| -rw-r--r-- | searx/plugins/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/plugins/__init__.py b/searx/plugins/__init__.py index fe7ae0578..661b4f6aa 100644 --- a/searx/plugins/__init__.py +++ b/searx/plugins/__init__.py @@ -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() |