Encoding utf-8, bug fix
This commit is contained in:
1 parent
e3c3c03729
commit
bdab2e9959
4 files changed
+4
-4
No files matched your search
@@ -12,7 +12,7 @@ def blog_proof_editor(blog_content):
|
||||
config_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..', 'main_config'))
|
||||
config = configparser.ConfigParser()
|
||||
#config = configparser.RawConfigParser()
|
||||
config.read(config_path, encoding='utf-8-sig')
|
||||
config.read(config_path, encoding='utf-8')
|
||||
except Exception as err:
|
||||
print(f"ProofReader: Failed to read values from config: {err}")
|
||||
|
||||
|
||||
Reference in new issue
Block a user