summaryrefslogtreecommitdiff
path: root/searx/plugins/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/plugins/__init__.py')
-rw-r--r--searx/plugins/__init__.py4
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()