fix for issue status reverting back to default status after ReCheck Files selected regardless of previous status

This commit is contained in:
evilhero 2012-10-20 03:09:15 -04:00
parent 674b17966c
commit 150dcd775b
1 changed files with 5 additions and 1 deletions

View File

@ -157,6 +157,7 @@ def forceRescan(ComicID):
except IndexError:
break
int_iss = reiss['Int_IssueNumber']
old_status = reiss['Status']
fn = 0
haveissue = "no"
while (fn < fccnt):
@ -196,7 +197,10 @@ def forceRescan(ComicID):
if mylar.AUTOWANT_ALL:
issStatus = "Wanted"
else:
issStatus = "Skipped"
if old_status == "Wanted":
issStatus = "Wanted"
else:
issStatus = "Skipped"
elif haveissue == "yes":
issStatus = "Downloaded"
controlValueDict = {"IssueID": reiss['IssueID']}