diff options
| author | Alexandre Flament <alex@al-f.net> | 2020-12-01 15:31:10 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-01 15:31:10 +0100 |
| commit | 219af243a20899d0c8a677700c36e339d7cdcc74 (patch) | |
| tree | b7b98f65cf6cc8127f1d6a06e37419fe45222871 /searx/plugins/__init__.py | |
| parent | a1e6bc4cee2690eb7f2103901ada9a50846a7419 (diff) | |
| parent | 8aa2a7556ad80d3d644287fc17832050f3a5a303 (diff) | |
Merge pull request #2318 from dalf/add-pylint
Add pylint
Diffstat (limited to 'searx/plugins/__init__.py')
| -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() |