aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/pride/pride_facts.py
diff options
context:
space:
mode:
authorGravatar jodth07 <[email protected]>2020-05-19 20:52:24 -0400
committerGravatar jodth07 <[email protected]>2020-05-19 20:52:24 -0400
commitec1604d391ebbc14e25c52930e6ccadf3548b171 (patch)
treee19ea1c1e60f3e3304e4a33f86296d68b3ca7d7d /bot/exts/pride/pride_facts.py
parent5/19 - bot | xmas, easter, evergreen - updated open statesments with explicit... (diff)
5/19 - ext - set upen files encoding to utf8 for bots
Diffstat (limited to 'bot/exts/pride/pride_facts.py')
-rw-r--r--bot/exts/pride/pride_facts.py2
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)