Development
This commit is contained in:
parent
20082ed83e
commit
eae133f18e
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue