From a13a112f6d63c77617b6622756cd6f39a4718dd8 Mon Sep 17 00:00:00 2001 From: LordJay23 Date: Sat, 30 Dec 2017 21:26:04 -0500 Subject: [PATCH] Typo in API --- API_REFERENCE | 5 ++++- mylar/api.py | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/API_REFERENCE b/API_REFERENCE index 25a8596c..16806a1f 100644 --- a/API_REFERENCE +++ b/API_REFERENCE @@ -69,4 +69,7 @@ getStoryArc (List all story arcs) getStoryArc&customOnly=1 (List custom story arcs) getStoryArc&id=$arcid (Show story arc issues) -addStoryArc +addStoryArc&id=$arcid&issues=$issues (add a comma delimited list of CV issue IDs to existing Story Arc ID. + Appended in order to the end of the reading order) +addStoryArc&storyarcname=$name&issues=$issues (create a new story arc and add a comma delimited list of CV issue IDs + to it.) diff --git a/mylar/api.py b/mylar/api.py index 3d0d22ba..ff6e110b 100644 --- a/mylar/api.py +++ b/mylar/api.py @@ -533,7 +533,7 @@ class Api(object): arclist += "|" if 'arclist' in kwargs: cvlist = kwargs.pop('arclist') - issuelist = split(cvlist,"|") + issuelist = cvlist.split("|") index = 0 for issue in issuelist: arclist += "%s,%s" % (issue.split(",")[0],issuecount + 1)