Fix bug in Blocklist that prevented downloading of new file every X days

This commit is contained in:
Andrew Resch 2008-08-23 13:00:35 +00:00
parent 0c79d1a10b
commit 550b101747
1 changed files with 1 additions and 1 deletions

View File

@ -245,7 +245,7 @@ class Core(CorePluginBase):
if list_size == 0:
return True
if current_time >= (list_time + datetime.timedelta(self.config["check_after_days"] * 24 * 60 * 60)):
if current_time >= (list_time + datetime.timedelta(days=self.config["check_after_days"])):
return True
return False