mirror of
https://github.com/searxng/searxng.git
synced 2025-12-22 19:50:00 +00: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:
@@ -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)
|
||||
|
||||
'''
|
||||
|
||||
Reference in New Issue
Block a user