diff options
author | 2020-05-29 16:17:05 -0700 | |
---|---|---|
committer | 2020-05-29 16:17:05 -0700 | |
commit | 08782933b325a0aed274cf697a30e3a3b9218143 (patch) | |
tree | 77d10737affc379310b21eae7fc520f656e0f0a1 | |
parent | Merge pull request #965 from Akarys42/patch-1 (diff) | |
parent | Tags: explicitly use UTF-8 to read files (diff) |
Merge pull request #972 from Numerlor/tag-encoding
Specify encoding when reading 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 bc7f53f68..6f03a3475 100644 --- a/bot/cogs/tags.py +++ b/bot/cogs/tags.py @@ -44,7 +44,7 @@ class Tags(Cog): tag = { "title": tag_title, "embed": { - "description": file.read_text(), + "description": file.read_text(encoding="utf8"), }, "restricted_to": "developers", } |