Skip to content

Commit

Permalink
Merge pull request #22 from pwillemse/fix-templated-id
Browse files Browse the repository at this point in the history
Fixed template ID after folder feature in XLR was introduced.
  • Loading branch information
jdewinne authored Nov 6, 2017
2 parents c8cb7de + ea81b77 commit ddd1076
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/xlr/CreateAndStartSubRelease.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def process_variables(variables, updatable_variables):
if releaseDescription is None:
releaseDescription = ""

release_id = xlr_client.create_release(releaseTitle, releaseDescription, vars, repr(template.tags).replace("'",'"'), template.id.split("/")[1])
release_id = xlr_client.create_release(releaseTitle, releaseDescription, vars, repr(template.tags).replace("'",'"'), template.id.split("/", 1)[1])

# Start Release
xlr_client.start_release(release_id)
Expand Down

0 comments on commit ddd1076

Please sign in to comment.