mirror of https://github.com/evilhero/mylar
Fix: Issue status would change from wanted to skipped (and vice-versa) on every start. Fix: Upcoming Issues should stay in Wanted status now until retrieved/changed.
This commit is contained in:
parent
0381d9c918
commit
2061429a1d
|
@ -331,8 +331,8 @@ def addComictoDB(comicid,mismatch=None,pullupd=None):
|
|||
}
|
||||
if mylar.AUTOWANT_ALL:
|
||||
newValueDict['Status'] = "Wanted"
|
||||
#elif release_dict['releasedate'] > helpers.today() and mylar.AUTOWANT_UPCOMING:
|
||||
# newValueDict['Status'] = "Wanted"
|
||||
elif issdate > helpers.today() and mylar.AUTOWANT_UPCOMING:
|
||||
newValueDict['Status'] = "Wanted"
|
||||
else:
|
||||
newValueDict['Status'] = "Skipped"
|
||||
|
||||
|
@ -601,8 +601,8 @@ def GCDimport(gcomicid, pullupd=None):
|
|||
|
||||
if mylar.AUTOWANT_ALL:
|
||||
newValueDict['Status'] = "Wanted"
|
||||
#elif release_dict['releasedate'] > helpers.today() and mylar.AUTOWANT_UPCOMING:
|
||||
# newValueDict['Status'] = "Wanted"
|
||||
elif issdate > helpers.today() and mylar.AUTOWANT_UPCOMING:
|
||||
newValueDict['Status'] = "Wanted"
|
||||
else:
|
||||
newValueDict['Status'] = "Skipped"
|
||||
|
||||
|
|
|
@ -82,6 +82,9 @@ def upcoming_update(ComicID, ComicName, IssueNumber, IssueDate):
|
|||
elif issuechk['Status'] == "Downloaded":
|
||||
values = { "Status": "Downloaded"}
|
||||
newValue['Status'] = "Downloaded"
|
||||
elif issuechk['Status'] == "Wanted":
|
||||
values = { "Status": "Wanted"}
|
||||
newValue['Status'] = "Wanted"
|
||||
else:
|
||||
values = { "Status": "Skipped"}
|
||||
newValue['Status'] = "Skipped"
|
||||
|
|
Loading…
Reference in New Issue