Skip to content
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.

Commit

Permalink
Merge branch 'kvch-update-packages'
Browse files Browse the repository at this point in the history
  • Loading branch information
dalf committed Mar 24, 2019
2 parents b9e42e6 + 252ba92 commit a80a2d0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
17 changes: 9 additions & 8 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
certifi==2017.11.5
certifi==2018.11.29
flask-babel==0.12.2
flask==1.0.2
flask-babel==0.11.2
lxml==4.2.3
idna==2.7
idna==2.8
jinja2==2.10
lxml==4.3.0
pygments==2.1.3
pyopenssl==18.0.0
python-dateutil==2.7.3
pyyaml==3.13
requests[socks]==2.19.1
pyopenssl==19.0.0
python-dateutil==2.7.5
pyyaml==4.2b1
requests[socks]==2.21.0
4 changes: 2 additions & 2 deletions searx/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
from io import open
from ssl import OPENSSL_VERSION_INFO, OPENSSL_VERSION
try:
from yaml import load
from yaml import safe_load
except:
from sys import exit, stderr
stderr.write('[E] install pyyaml\n')
Expand Down Expand Up @@ -52,7 +52,7 @@ def check_settings_yml(file_name):

# load settings
with open(settings_path, 'r', encoding='utf-8') as settings_yaml:
settings = load(settings_yaml)
settings = safe_load(settings_yaml)

'''
enable debug if
Expand Down

0 comments on commit a80a2d0

Please sign in to comment.