summaryrefslogtreecommitdiff
path: root/tools/getconfig.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/getconfig.py')
-rwxr-xr-xtools/getconfig.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/getconfig.py b/tools/getconfig.py
index e6277e9..6195a52 100755
--- a/tools/getconfig.py
+++ b/tools/getconfig.py
@@ -15,7 +15,7 @@ def get_file(configurl):
if configurl.startswith("https://") or configurl.startswith("http://"):
result = urlget(configurl)
result.raise_for_status()
- return result
+ return result.content
elif configurl.startswith("file:///"):
path = configurl[8:]
path = path.replace("CURRENTWORKINGDIRECTORY", os.getcwd())