mirror of
https://github.com/evilhero/mylar
synced 2025-03-11 06:22:48 +00:00
fix for issue status reverting back to default status after ReCheck Files selected regardless of previous status
This commit is contained in:
parent
674b17966c
commit
150dcd775b
1 changed files with 5 additions and 1 deletions
|
@ -157,6 +157,7 @@ def forceRescan(ComicID):
|
||||||
except IndexError:
|
except IndexError:
|
||||||
break
|
break
|
||||||
int_iss = reiss['Int_IssueNumber']
|
int_iss = reiss['Int_IssueNumber']
|
||||||
|
old_status = reiss['Status']
|
||||||
fn = 0
|
fn = 0
|
||||||
haveissue = "no"
|
haveissue = "no"
|
||||||
while (fn < fccnt):
|
while (fn < fccnt):
|
||||||
|
@ -196,7 +197,10 @@ def forceRescan(ComicID):
|
||||||
if mylar.AUTOWANT_ALL:
|
if mylar.AUTOWANT_ALL:
|
||||||
issStatus = "Wanted"
|
issStatus = "Wanted"
|
||||||
else:
|
else:
|
||||||
issStatus = "Skipped"
|
if old_status == "Wanted":
|
||||||
|
issStatus = "Wanted"
|
||||||
|
else:
|
||||||
|
issStatus = "Skipped"
|
||||||
elif haveissue == "yes":
|
elif haveissue == "yes":
|
||||||
issStatus = "Downloaded"
|
issStatus = "Downloaded"
|
||||||
controlValueDict = {"IssueID": reiss['IssueID']}
|
controlValueDict = {"IssueID": reiss['IssueID']}
|
||||||
|
|
Loading…
Add table
Reference in a new issue