mirror of
https://github.com/searxng/searxng.git
synced 2025-08-02 18:12:21 +02:00
Merge pull request #1124 from JosephKiranBabu/python3-unicode-support
Make Python 3 able to read settings files with Unicode characters
This commit is contained in:
commit
8511e64f35
3 changed files with 3 additions and 3 deletions
|
@ -50,7 +50,7 @@ if not settings_path:
|
|||
raise Exception('settings.yml not found')
|
||||
|
||||
# load settings
|
||||
with open(settings_path) as settings_yaml:
|
||||
with open(settings_path, 'rb') as settings_yaml:
|
||||
settings = load(settings_yaml)
|
||||
|
||||
'''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue