Ticket #171: BlocklistImport.patch

File BlocklistImport.patch, 481 bytes (added by cov, 15 years ago)

Quick fix that works for me

  • __init__.py

    old new  
    9292            list_timestamp = liststats.st_mtime 
    9393            now_timestamp = time.time() 
    9494            days_update = self.config.get('load_after_days') 
     95            if days_update == None: 
     96                days_update = 0 
    9597 
    9698            # Seconds in a day = 86400 
    9799            # Check to see if todays timestamp is older than the list plus days in config