Fix log message to indicate successful download of good entries in greylist and whitelist scripts

This commit is contained in:
Théophile Diot 2025-01-13 18:33:34 +01:00
parent 6bfe852b44
commit f5e183dc99
No known key found for this signature in database
GPG key ID: FA995104A0BA376A
2 changed files with 2 additions and 2 deletions

View file

@ -169,7 +169,7 @@ try:
content += data + b"\n"
i += 1
LOGGER.info(f"Downloaded {i} bad {kind}")
LOGGER.info(f"Downloaded {i} good {kind}")
cached, err = JOB.cache_file(url_file, b"# Downloaded from " + url.encode("utf-8") + b"\n" + content)
if not cached:

View file

@ -169,7 +169,7 @@ try:
content += data + b"\n"
i += 1
LOGGER.info(f"Downloaded {i} bad {kind}")
LOGGER.info(f"Downloaded {i} good {kind}")
cached, err = JOB.cache_file(url_file, b"# Downloaded from " + url.encode("utf-8") + b"\n" + content)
if not cached: