浏览代码

- recoll.py: type -> mtype

frankdelange 6 年前
父节点
当前提交
20004f72eb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      searx/engines/recoll.py

+ 1
- 1
searx/engines/recoll.py 查看文件

@@ -86,7 +86,7 @@ def response(resp):
86 86
         # facilitate preview support for known mime types
87 87
         if 'mtype' in result:
88 88
             (mtype, subtype) = result['mtype'].split('/')
89
-            item['type'] = mtype
89
+            item['mtype'] = mtype
90 90
             item['subtype'] = subtype
91 91
 
92 92
             if mtype in ['audio', 'video']: