Browse Source

Timings - UTF8 encoding

pull/12/head
DrBot7 3 years ago
parent
commit
c2dcbf4c46
  1. 2
      cogs/timings.py

2
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:

Loading…
Cancel
Save