This commit is contained in:
Sazonov Andrey 2026-03-25 16:39:28 +03:00
parent 4394808d95
commit b7ccbf7574

View File

@ -103,7 +103,9 @@ def load_forced_list(cfg):
except Exception as e:
logging.error(f"Ошибка чтения входящих данных: {e}")
exit(1)
if len(domains) == 0 and len(ips) == 0:
logging.info(f"В файле {cfg['filename']} не найдено доменов и IP")
return domains, ips
@ -178,7 +180,7 @@ async def main():
configs = read_config(config_path, args.env)
for cfg in configs:
logging.info(f"=== Обработка: {cfg['name']} ===")
logging.info(f"\n=== Обработка: {cfg['name']} ===")
semaphore = Semaphore(cfg["threads"])