Skip to content
This repository has been archived by the owner on Mar 31, 2020. It is now read-only.

Commit

Permalink
Merge pull request #326 from spiskula/master
Browse files Browse the repository at this point in the history
Fix for extraction of URL with created replica. This is for issue #323
  • Loading branch information
achapkowski authored Mar 1, 2017
2 parents a0df394 + 649ce51 commit f7602cf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/arcrest/agol/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -776,10 +776,11 @@ def createReplica(self,
os.path.isdir(out_path):
dlURL = None
if 'resultUrl' in res:

dlURL = res["resultUrl"]
elif 'responseUrl' in res:
dlURL = res["responseUrl"]
elif 'URL' in res:
dlURL = res["URL"]
if dlURL is not None:
return self._get(url=dlURL,
securityHandler=self._securityHandler,
Expand Down

0 comments on commit f7602cf

Please sign in to comment.