Browse Source

(fix) satisfy the linter, and btw reduce timeout

Austin Huang 3 years ago
parent
commit
19fa0095a0
2 changed files with 1 additions and 2 deletions
  1. 0 1
      searx/engines/jisho.py
  2. 1 1
      searx/settings.yml

+ 0 - 1
searx/engines/jisho.py

@@ -3,7 +3,6 @@
 Jisho (the Japanese-English dictionary)
 Jisho (the Japanese-English dictionary)
 """
 """
 
 
-import json
 from urllib.parse import urlencode, urljoin
 from urllib.parse import urlencode, urljoin
 
 
 # about
 # about

+ 1 - 1
searx/settings.yml

@@ -801,7 +801,7 @@ engines:
   - name: jisho
   - name: jisho
     engine: jisho
     engine: jisho
     shortcut: js
     shortcut: js
-    timeout: 4.0
+    timeout: 3.0
     disabled: true
     disabled: true
 
 
   - name: kickass
   - name: kickass