Commit 6add98ef authored by Franziska Koehn's avatar Franziska Koehn
Browse files

refactor

parent 0b8b0d3f
......@@ -170,8 +170,7 @@ def query_for_additional_data(rest, result, host, user, passw):
import re
def subfunc(f):
key = f.group(0).strip("{}")
r = result[key]
return r
return result[key]
ret = re.sub('\{\w+\}', subfunc, rest)
central = get_xnat_server_connection(host=host, user=user, passw=passw)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment