Browse Source

- recoll.py: type -> mtype

frankdelange 6 years ago
parent
commit
20004f72eb
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      searx/engines/recoll.py

+ 1
- 1
searx/engines/recoll.py View File

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