You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
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!
The text was updated successfully, but these errors were encountered: