diff options
-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: |