From e6750b1c956a7c02d8bc9eb25618d5b4240f53e2 Mon Sep 17 00:00:00 2001 From: emkael Date: Wed, 21 Feb 2018 14:58:44 +0100 Subject: ?! --- jfr_playoff/settings.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/jfr_playoff/settings.py b/jfr_playoff/settings.py index 1fbe1f9..5572ba5 100644 --- a/jfr_playoff/settings.py +++ b/jfr_playoff/settings.py @@ -26,9 +26,8 @@ class PlayoffSettings(object): overwrite=True): try: remote_file = urllib.urlopen(remote_url) - print remote_file.info() - print remote_file.read().decode('utf-8-sig') remote_content = remote_file.read().decode('utf-8-sig') + print 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