From 9d90f426552b5e0933cd512659c64ecfc169cbae Mon Sep 17 00:00:00 2001 From: evilhero Date: Thu, 15 Feb 2018 13:01:26 -0500 Subject: [PATCH] FIX: fix for weekly pull not deleting stale entries when recreating pull-list --- mylar/locg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mylar/locg.py b/mylar/locg.py index 2368704d..78e1e9b7 100755 --- a/mylar/locg.py +++ b/mylar/locg.py @@ -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