From 81e9c755345600e474dbffb758f76dc85357c7ab Mon Sep 17 00:00:00 2001 From: Adam Tauber Date: Tue, 14 Jul 2020 22:00:24 +0200 Subject: [PATCH] [fix] pep8 --- searx/plugins/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/searx/plugins/__init__.py b/searx/plugins/__init__.py index 8742dc2d6..379c69e2e 100644 --- a/searx/plugins/__init__.py +++ b/searx/plugins/__init__.py @@ -135,8 +135,8 @@ def fix_package_resources(pkg, name): def sha_sum(filename): - with open(filename,"rb") as f: - bytes = f.read() # read entire file as bytes + with open(filename, "rb") as f: + bytes = f.read() return sha256(bytes).hexdigest()