Write configuration as UTF-8 ,allows unicode characters in configuration settings

This commit is contained in:
Patrick Speiser
2012-10-13 12:18:03 +02:00
parent 27c4ad6ee2
commit 2614d0140b

View File

@@ -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'] = {}