summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2018-02-21 14:53:55 +0100
committeremkael <emkael@tlen.pl>2018-02-21 14:53:55 +0100
commitfee90567f7501dd3c031c91c48a5cd19cf92c7a9 (patch)
tree6867cc47a5ade249366b84f0ceaea860b87460d4
parent0dd9dacdf08387d8786b7ae6bbe7458e789f4260 (diff)
Step by step
-rw-r--r--jfr_playoff/settings.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/jfr_playoff/settings.py b/jfr_playoff/settings.py
index 5017223..7994bfc 100644
--- a/jfr_playoff/settings.py
+++ b/jfr_playoff/settings.py
@@ -27,7 +27,9 @@ class PlayoffSettings(object):
try:
remote_file = urllib.urlopen(remote_url)
print remote_file.info()
+ print remote_file.read()
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: