diff options
| author | 2020-05-25 10:34:52 +0100 | |
|---|---|---|
| committer | 2020-05-25 10:34:52 +0100 | |
| commit | bb30d2904b4a3273d4b10dc9548c542d65f0c379 (patch) | |
| tree | e6bf89e968dd39a153227aa8ca060496d2c3cbec /bot/exts/pride/pride_facts.py | |
| parent | Merge pull request #401 from fuzzmz/minesweeper-disabled-dm-handling (diff) | |
| parent | Remove accidental extra word from docstring (diff) | |
Merge pull request #413 from jodth07/encoding_bug_fix
Encoding bug fix
Diffstat (limited to 'bot/exts/pride/pride_facts.py')
| -rw-r--r-- | bot/exts/pride/pride_facts.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/bot/exts/pride/pride_facts.py b/bot/exts/pride/pride_facts.py index c453bfa1..9ff4c9e0 100644 --- a/bot/exts/pride/pride_facts.py +++ b/bot/exts/pride/pride_facts.py @@ -30,7 +30,7 @@ class PrideFacts(commands.Cog):      @staticmethod      def load_facts() -> dict:          """Loads a dictionary of years mapping to lists of facts.""" -        with open(Path("bot/resources/pride/facts.json"), "r", encoding="utf-8") as f: +        with open(Path("bot/resources/pride/facts.json"), "r", encoding="utf8") as f:              return json.load(f)      @seasonal_task(Month.JUNE) | 
