FIX: fix for weekly pull not deleting stale entries when recreating pull-list

This commit is contained in:
evilhero 2018-02-15 13:01:26 -05:00
parent ba2c9ed2f6
commit 9d90f42655
1 changed files with 1 additions and 1 deletions

View File

@ -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