Development

This commit is contained in:
Matthew Grotke 2026-06-09 11:52:47 -04:00
parent 20082ed83e
commit eae133f18e

View file

@ -89,9 +89,9 @@ def main():
check_root() check_root()
setup_logging() setup_logging()
data = load_config() data = load_config()
LAST_DL_FILE.write_text(str(int(__import__('time').time())))
logging.info("Downloading blocklists ==========================================") logging.info("Downloading blocklists ==========================================")
success = download_blocklists(data) success = download_blocklists(data)
LAST_DL_FILE.write_text(str(int(__import__('time').time())))
if not success: if not success:
logging.warning("One or more downloads failed.") logging.warning("One or more downloads failed.")
sys.exit(1) sys.exit(1)