mirror of https://github.com/evilhero/mylar
FIX: fix for weekly pull not deleting stale entries when recreating pull-list
This commit is contained in:
parent
ba2c9ed2f6
commit
9d90f42655
|
@ -92,7 +92,7 @@ def locg(pulldate=None,weeknumber=None,year=None):
|
|||
#clear out the upcoming table here so they show the new values properly.
|
||||
if pulldate == '00000000':
|
||||
logger.info('Re-creating pullist to ensure everything\'s fresh.')
|
||||
myDB.action('DELETE FROM weekly WHERE weeknumber=? AND year=?',[str(weeknumber), str(year)])
|
||||
myDB.action('DELETE FROM weekly WHERE weeknumber=? AND year=?',[int(weeknumber), int(year)])
|
||||
|
||||
for x in pull:
|
||||
comicid = None
|
||||
|
|
Loading…
Reference in New Issue