mirror of
https://github.com/evilhero/mylar
synced 2024-12-21 23:32:23 +00:00
Typo in API
This commit is contained in:
parent
92ee4be87e
commit
a13a112f6d
2 changed files with 5 additions and 2 deletions
|
@ -69,4 +69,7 @@ getStoryArc (List all story arcs)
|
||||||
getStoryArc&customOnly=1 (List custom story arcs)
|
getStoryArc&customOnly=1 (List custom story arcs)
|
||||||
getStoryArc&id=$arcid (Show story arc issues)
|
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.)
|
||||||
|
|
|
@ -533,7 +533,7 @@ class Api(object):
|
||||||
arclist += "|"
|
arclist += "|"
|
||||||
if 'arclist' in kwargs:
|
if 'arclist' in kwargs:
|
||||||
cvlist = kwargs.pop('arclist')
|
cvlist = kwargs.pop('arclist')
|
||||||
issuelist = split(cvlist,"|")
|
issuelist = cvlist.split("|")
|
||||||
index = 0
|
index = 0
|
||||||
for issue in issuelist:
|
for issue in issuelist:
|
||||||
arclist += "%s,%s" % (issue.split(",")[0],issuecount + 1)
|
arclist += "%s,%s" % (issue.split(",")[0],issuecount + 1)
|
||||||
|
|
Loading…
Reference in a new issue