From 94ae2e6a958e611c6cdcfe56dc72d47f2dfb66c3 Mon Sep 17 00:00:00 2001 From: Helena Rasche Date: Wed, 23 May 2018 16:31:40 +0200 Subject: [PATCH] permit actual numbers in conf file --- scripts/grt/upload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/grt/upload.py b/scripts/grt/upload.py index 25787d01c0d..52b66cbb49a 100644 --- a/scripts/grt/upload.py +++ b/scripts/grt/upload.py @@ -42,7 +42,7 @@ def main(argv): # Contact the server and check auth details. headers = { - 'AUTHORIZATION': GRT_INSTANCE_ID + ':' + GRT_API_KEY + 'AUTHORIZATION': '%s:%s' % (GRT_INSTANCE_ID, GRT_API_KEY) } r = requests.post(GRT_URL + 'api/whoami', headers=headers) data = r.json()