summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2018-02-21 15:02:17 +0100
committeremkael <emkael@tlen.pl>2018-02-21 15:02:17 +0100
commitcb75245e9d044869a7c9e7514deb9b7edee35501 (patch)
treead13985e868a75f59d36c243732daff0518ff87b
parente6750b1c956a7c02d8bc9eb25618d5b4240f53e2 (diff)
?
-rw-r--r--jfr_playoff/settings.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/jfr_playoff/settings.py b/jfr_playoff/settings.py
index 5572ba5..8d4fb38 100644
--- a/jfr_playoff/settings.py
+++ b/jfr_playoff/settings.py
@@ -25,9 +25,11 @@ class PlayoffSettings(object):
new_config=None, remote_url=None,
overwrite=True):
try:
+ print '.'
remote_file = urllib.urlopen(remote_url)
+ print remote_file
remote_content = remote_file.read().decode('utf-8-sig')
- print json.loads(remote_content)
+ remote_config = json.loads(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: