浏览代码

[fix] pep8

Adam Tauber 8 年前
父节点
当前提交
0724bd8168
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      searx/answerers/statistics/answerer.py

+ 1
- 1
searx/answerers/statistics/answerer.py 查看文件

@@ -31,7 +31,7 @@ def answer(query):
31 31
     elif func == 'max':
32 32
         answer = max(args)
33 33
     elif func == 'avg':
34
-        answer = sum(args)/len(args)
34
+        answer = sum(args) / len(args)
35 35
     elif func == 'sum':
36 36
         answer = sum(args)
37 37
     elif func == 'prod':