mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
permit actual numbers in conf file
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user