From e475181b5c51d6363c74e0e36f51f174bfa6ba2c Mon Sep 17 00:00:00 2001 From: kwzrd Date: Mon, 15 Mar 2021 18:40:35 +0100 Subject: Branding: decode 'meta.md' using UTF-8 --- bot/exts/backend/branding/_repository.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'!") -- cgit v1.2.3