I noticed an issue when the config.yaml contains unicode characters.
For example when using the reset password feature the yaml load and dump works perfectly but the process escapes all unicode chars. Unfortunately this cancels the yaml file human readability.
An simple solution would be to just use the allow_unicode parameter when dumping the config back to the filesystem:
with open('../config.yaml', 'w') as file:
yaml.dump(config, file, default_flow_style=False, allow_unicode=True, sort_keys=False)
Congratulations on your great project.
I noticed an issue when the config.yaml contains unicode characters. For example when using the reset password feature the yaml load and dump works perfectly but the process escapes all unicode chars. Unfortunately this cancels the yaml file human readability.
An simple solution would be to just use the allow_unicode parameter when dumping the config back to the filesystem:
with open('../config.yaml', 'w') as file: yaml.dump(config, file, default_flow_style=False, allow_unicode=True, sort_keys=False)
How does it sound? :)
Keep up the good work!