Commit a79dc5c4 authored by Roland Haas's avatar Roland Haas
Browse files

if called as script, log in

parent b1a9c3ff
......@@ -266,3 +266,7 @@ class GlobusTransferHelper:
if synchronous:
return transfer_response
if __name__ == '__main__':
# log in, then quit. Useful for scripted use
transfer = GlobusTransferHelper()
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