Ticket #171: BlocklistImport.patch
File BlocklistImport.patch, 481 bytes (added by , 16 years ago) |
---|
-
__init__.py
old new 92 92 list_timestamp = liststats.st_mtime 93 93 now_timestamp = time.time() 94 94 days_update = self.config.get('load_after_days') 95 if days_update == None: 96 days_update = 0 95 97 96 98 # Seconds in a day = 86400 97 99 # Check to see if todays timestamp is older than the list plus days in config