From 7b4a7c6f6d6c569d5f855ca59bdc1026dea6fb4c Mon Sep 17 00:00:00 2001 From: Kristian Krsnik Date: Fri, 13 Oct 2023 13:39:16 +0200 Subject: [PATCH] Log format --- dyn_gandi/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dyn_gandi/main.py b/dyn_gandi/main.py index 91edc60..b7a0d68 100644 --- a/dyn_gandi/main.py +++ b/dyn_gandi/main.py @@ -126,7 +126,7 @@ def checkRecords(api: dict[str, dict[str, list[str]]], current_ip: str, log: Cal filter(lambda x: current_ip in x['rrset_values'], response.json())))) if records_to_renew[key][domain] != []: - log(f"[INFO][{' '.join(records_to_renew)}]Record that need to be renewed") + log(f"[INFO][{','.join(records_to_renew)}] Record need to be renewed") else: log(f"[ERROR][{domain}][{response.status_code}] {response.json()}")