mirror of
https://github.com/evilhero/mylar
synced 2024-12-24 16:51:42 +00:00
FIX:(#1522) Fix for weekly pull list being empty when using alt_pull 0 method
This commit is contained in:
parent
ea53e30409
commit
9519153db3
1 changed files with 2 additions and 2 deletions
|
@ -545,12 +545,12 @@ def weekly_update(ComicName, IssueNumber, CStatus, CID, weeknumber, year, altiss
|
|||
# added Issue to stop false hits on series' that have multiple releases in a week
|
||||
# added CStatus to update status flags on Pullist screen
|
||||
myDB = db.DBConnection()
|
||||
issuecheck = myDB.selectone("SELECT * FROM weekly WHERE COMIC=? AND ISSUE=? and WEEKNUMBER=? AND YEAR=?", [ComicName, IssueNumber, weeknumber, year]).fetchone()
|
||||
issuecheck = myDB.selectone("SELECT * FROM weekly WHERE COMIC=? AND ISSUE=? and WEEKNUMBER=? AND YEAR=?", [ComicName, IssueNumber, int(weeknumber), year]).fetchone()
|
||||
|
||||
if issuecheck is not None:
|
||||
controlValue = {"COMIC": str(ComicName),
|
||||
"ISSUE": str(IssueNumber),
|
||||
"WEEKNUMBER": weeknumber,
|
||||
"WEEKNUMBER": int(weeknumber),
|
||||
"YEAR": year}
|
||||
|
||||
logger.info('controlValue:' + str(controlValue))
|
||||
|
|
Loading…
Reference in a new issue