mirror of
https://github.com/evilhero/mylar
synced 2024-12-25 17:16:51 +00:00
FIX: When starting up Mylar for the very first time, will indicate -1 series have been ordered, FIX: When using the ALT_PULL method for the pull-list, would grab html colour codes occasionally
This commit is contained in:
parent
1ad1d7e927
commit
70f0c75dc8
2 changed files with 3 additions and 2 deletions
|
@ -609,11 +609,12 @@ def ComicSort(comicorder=None,sequence=None,imported=None):
|
||||||
comicorder['SortOrder'] = comicorderlist
|
comicorder['SortOrder'] = comicorderlist
|
||||||
comicorder['LastOrderNo'] = i-1
|
comicorder['LastOrderNo'] = i-1
|
||||||
comicorder['LastOrderID'] = comicorder['SortOrder'][i-1]['ComicID']
|
comicorder['LastOrderID'] = comicorder['SortOrder'][i-1]['ComicID']
|
||||||
|
if i < 0: i == 0
|
||||||
logger.info('Sucessfully ordered ' + str(i-1) + ' series in your watchlist.')
|
logger.info('Sucessfully ordered ' + str(i-1) + ' series in your watchlist.')
|
||||||
return comicorder
|
return comicorder
|
||||||
elif sequence == 'update':
|
elif sequence == 'update':
|
||||||
mylar.COMICSORT['SortOrder'] = comicorderlist
|
mylar.COMICSORT['SortOrder'] = comicorderlist
|
||||||
print ("i:" + str(i))
|
#print ("i:" + str(i))
|
||||||
if i == 0:
|
if i == 0:
|
||||||
placemnt = 1
|
placemnt = 1
|
||||||
else:
|
else:
|
||||||
|
|
|
@ -77,7 +77,7 @@ def newpull():
|
||||||
break
|
break
|
||||||
if len(found_iss) > 0:
|
if len(found_iss) > 0:
|
||||||
pull_list.append({"iss_url": found_iss[0],
|
pull_list.append({"iss_url": found_iss[0],
|
||||||
"name": found_iss[1],
|
"name": found_iss[1].findNext(text=True),
|
||||||
"price": found_iss[2],
|
"price": found_iss[2],
|
||||||
"publisher": isspublisher,
|
"publisher": isspublisher,
|
||||||
"ID" : urlID})
|
"ID" : urlID})
|
||||||
|
|
Loading…
Reference in a new issue