Browse Source

[fix] pep8

Adam Tauber 4 years ago
parent
commit
81e9c75534
1 changed files with 2 additions and 2 deletions
  1. 2 2
      searx/plugins/__init__.py

+ 2 - 2
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()