From c2dcbf4c463db2f7098531da99228aa1d473f534 Mon Sep 17 00:00:00 2001 From: DrBot7 <46543473+DrBot7@users.noreply.github.com> Date: Wed, 13 Jan 2021 15:47:48 -0600 Subject: [PATCH] Timings - UTF8 encoding --- cogs/timings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/timings.py b/cogs/timings.py index bc756db..fe03d8d 100644 --- a/cogs/timings.py +++ b/cogs/timings.py @@ -5,7 +5,7 @@ import yaml TIMINGS_CHECK = None YAML_ERROR = None -with open("cogs/timings_check.yml", 'r') as stream: +with open("cogs/timings_check.yml", 'r', encoding="utf8") as stream: try: TIMINGS_CHECK = yaml.safe_load(stream) except yaml.YAMLError as exc: