diff options
author | 2020-04-19 09:56:11 -0700 | |
---|---|---|
committer | 2020-04-19 09:56:11 -0700 | |
commit | fbe662d5917af78ed84d15216dcb5b18c5d33d12 (patch) | |
tree | 211b3b6f98fe8343740d15762191172a5a30f5d6 | |
parent | Merge pull request #877 from python-discord/bug/frontend/870/help-channel-dm-... (diff) | |
parent | Merge 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.py | 2 |
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 |