1
0
Fork 0
mirror of https://github.com/evilhero/mylar synced 2024-12-21 15:22:23 +00:00

Typo in API

This commit is contained in:
LordJay23 2017-12-30 21:26:04 -05:00 committed by evilhero
parent 92ee4be87e
commit a13a112f6d
2 changed files with 5 additions and 2 deletions

View file

@ -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.)

View file

@ -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)