mirror of
https://github.com/rembo10/headphones.git
synced 2026-05-20 02:25:31 +01:00
Write configuration as UTF-8 ,allows unicode characters in configuration settings
This commit is contained in:
@@ -584,7 +584,7 @@ def launch_browser(host, port, root):
|
||||
|
||||
def config_write():
|
||||
|
||||
new_config = ConfigObj()
|
||||
new_config = ConfigObj(encoding="UTF-8")
|
||||
new_config.filename = CONFIG_FILE
|
||||
|
||||
new_config['General'] = {}
|
||||
|
||||
Reference in New Issue
Block a user