diff options
author | emkael <emkael@tlen.pl> | 2018-02-21 15:02:17 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2018-02-21 15:02:17 +0100 |
commit | cb75245e9d044869a7c9e7514deb9b7edee35501 (patch) | |
tree | ad13985e868a75f59d36c243732daff0518ff87b /jfr_playoff | |
parent | e6750b1c956a7c02d8bc9eb25618d5b4240f53e2 (diff) |
?
Diffstat (limited to 'jfr_playoff')
-rw-r--r-- | jfr_playoff/settings.py | 4 |
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: |