diff options
author | 2021-03-15 18:40:35 +0100 | |
---|---|---|
committer | 2021-03-15 18:40:35 +0100 | |
commit | e475181b5c51d6363c74e0e36f51f174bfa6ba2c (patch) | |
tree | 8ce152d497941aa90171eea2c9f79dcabb52cbca | |
parent | Branding: suppress 'ValueError' on empty-dict update (diff) |
Branding: decode 'meta.md' using UTF-8
-rw-r--r-- | bot/exts/backend/branding/_repository.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/backend/branding/_repository.py b/bot/exts/backend/branding/_repository.py index a612b6752..e14ff4226 100644 --- a/bot/exts/backend/branding/_repository.py +++ b/bot/exts/backend/branding/_repository.py @@ -134,7 +134,7 @@ class BrandingRepository: The caller is responsible for handling errors caused by misconfiguration. """ - attrs, description = frontmatter.parse(raw_file) # Library automatically decodes using UTF-8 + attrs, description = frontmatter.parse(raw_file, encoding="UTF-8") if not description: raise BrandingMisconfiguration("No description found in 'meta.md'!") |