Commit 8fe7f973 authored by Roland Haas's avatar Roland Haas
Browse files

fix case where endpoints are already activated

pointed out by Steven Foga
parent f075bae5
......@@ -149,7 +149,8 @@ class GlobusTransferHelper:
% endpoint)
self.input("Press ENTER after activating the endpoint:")
r = self.tclient.endpoint_autoactivate(endpoint, if_expires_in=24*3600)
return r["code"].startswith("AutoActivated")
return r["code"].startswith("AutoActivated") or \
r["code"].startswith("AlreadyActivated")
# transfer API helpers
def task_wait(self, result):
......
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