summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2018-02-21 14:56:58 +0100
committeremkael <emkael@tlen.pl>2018-02-21 14:56:58 +0100
commitf73b155a1f2b8958542fb6f6f2b40ca9d2f5e111 (patch)
treed7f1e1f8b90c0da14761fbbabcf8be628fa8b38e
parentfee90567f7501dd3c031c91c48a5cd19cf92c7a9 (diff)
*
-rw-r--r--jfr_playoff/settings.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/jfr_playoff/settings.py b/jfr_playoff/settings.py
index 7994bfc..1fbe1f9 100644
--- a/jfr_playoff/settings.py
+++ b/jfr_playoff/settings.py
@@ -27,9 +27,8 @@ class PlayoffSettings(object):
try:
remote_file = urllib.urlopen(remote_url)
print remote_file.info()
- print remote_file.read()
+ print remote_file.read().decode('utf-8-sig')
remote_content = remote_file.read().decode('utf-8-sig')
- print remote_content
remote_config = new_config if new_config is not None else json.loads(remote_content)
for key, value in remote_config.iteritems():
if (key not in base_config) or overwrite: