From cb75245e9d044869a7c9e7514deb9b7edee35501 Mon Sep 17 00:00:00 2001 From: emkael Date: Wed, 21 Feb 2018 15:02:17 +0100 Subject: ? --- jfr_playoff/settings.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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: -- cgit v1.2.3