summaryrefslogtreecommitdiff
path: root/jfr_playoff
diff options
context:
space:
mode:
Diffstat (limited to 'jfr_playoff')
-rw-r--r--jfr_playoff/settings.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/jfr_playoff/settings.py b/jfr_playoff/settings.py
index 0bb61fc..ba03d72 100644
--- a/jfr_playoff/settings.py
+++ b/jfr_playoff/settings.py
@@ -29,7 +29,8 @@ class PlayoffSettings(object):
'JSON settings file: ').decode(sys.stdin.encoding)
if self.settings is None:
- self.settings = json.load(open(unicode(self.settings_file)))
+ self.settings = json.loads(
+ open(unicode(self.settings_file)).read().decode('utf-8-sig'))
def has_section(self, key):
self.load()