summaryrefslogtreecommitdiff
path: root/searx/static
diff options
context:
space:
mode:
authorJoseph Nuthalapati <njoseph@thoughtworks.com>2017-12-19 13:04:18 +0530
committerJoseph Nuthalapati <njoseph@thoughtworks.com>2017-12-21 17:33:19 +0530
commitbdc803e185e1a7bb14892405a2c0c840ba6e0fe1 (patch)
tree31ad75ea97a190018b1b3e6c961ce87a5d71e6db /searx/static
parent943404a1033d7683d3d9f3dbed92780fa7e1bca4 (diff)
downloadsearxng-bdc803e185e1a7bb14892405a2c0c840ba6e0fe1.tar.gz
searxng-bdc803e185e1a7bb14892405a2c0c840ba6e0fe1.zip
Make Python 3 able to read settings files with Unicode characters
SearX currently doesn't start up when run with Python 3 as it tries to parse the settings.yml file with ASCII codecs. There are similar problems with engines_languages.json and currencies.json Python 3 requires that files with Unicode characters be read with a 'b' flag. This also works with Python 2 and hence can be integrated into the main source code. Tested with the latest Python 3.6.4rc1 on Debian unstable. Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
Diffstat (limited to 'searx/static')
0 files changed, 0 insertions, 0 deletions