mirror of https://github.com/evilhero/mylar
FIX:(#1879) When searching for Story-Arcs, would return an error message in some instances due to an improper variable mismatch, FIX: Story-Arc search results would always return the Year as being None
This commit is contained in:
parent
feaf102ed3
commit
e35e36efd1
|
@ -1856,13 +1856,13 @@ def listStoryArcs():
|
|||
library = {}
|
||||
myDB = db.DBConnection()
|
||||
# Get Distinct Arc IDs
|
||||
list = myDB.select("SELECT DISTINCT(StoryArcID) FROM storyarcs");
|
||||
for row in list:
|
||||
library[row['StoryArcID']] = row['StoryArcID']
|
||||
#list = myDB.select("SELECT DISTINCT(StoryArcID) FROM storyarcs");
|
||||
#for row in list:
|
||||
# library[row['StoryArcID']] = row['StoryArcID']
|
||||
# Get Distinct CV Arc IDs
|
||||
list = myDB.select("SELECT DISTINCT(CV_ArcID) FROM storyarcs");
|
||||
for row in list:
|
||||
library[row['CV_ArcID']] = row['CV_ArcID']
|
||||
library[row['CV_ArcID']] = {'comicid': row['CV_ArcID']}
|
||||
return library
|
||||
|
||||
def listoneoffs(weeknumber, year):
|
||||
|
|
|
@ -470,7 +470,7 @@ def storyarcinfo(xmlid):
|
|||
if firstid is not None:
|
||||
firstdom = cv.pulldetails(comicid=None, type='firstissue', issueid=firstid)
|
||||
logger.fdebug('success')
|
||||
arcyear = cv.GetFirstIssue(firstid,firstdom)
|
||||
arcyear = cv.Getissue(firstid,firstdom,'firstissue')
|
||||
except:
|
||||
logger.fdebug('Unable to retrieve first issue details. Not caclulating at this time.')
|
||||
|
||||
|
|
Loading…
Reference in New Issue