aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Mark <[email protected]>2020-04-19 09:56:11 -0700
committerGravatar GitHub <[email protected]>2020-04-19 09:56:11 -0700
commitfbe662d5917af78ed84d15216dcb5b18c5d33d12 (patch)
tree211b3b6f98fe8343740d15762191172a5a30f5d6
parentMerge pull request #877 from python-discord/bug/frontend/870/help-channel-dm-... (diff)
parentMerge branch 'master' into bug/info/869/tag-encoding (diff)
Merge pull request #875 from python-discord/bug/info/869/tag-encoding
Explicitly use UTF-8 to read tag files
-rw-r--r--bot/cogs/tags.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/tags.py b/bot/cogs/tags.py
index 9ba33d7e0..a813ffff5 100644
--- a/bot/cogs/tags.py
+++ b/bot/cogs/tags.py
@@ -43,7 +43,7 @@ class Tags(Cog):
tag = {
"title": tag_title,
"embed": {
- "description": file.read_text()
+ "description": file.read_text(encoding="utf-8")
}
}
cache[tag_title] = tag