From 993c960aea56fdbddcf39f2c47c5252fe064e449 Mon Sep 17 00:00:00 2001 From: Kristian Krsnik Date: Sun, 13 Aug 2023 14:15:58 +0200 Subject: [PATCH] removed default argument --- 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 eb6f7c9..52f826d 100644 --- a/dyn_gandi/main.py +++ b/dyn_gandi/main.py @@ -76,7 +76,7 @@ def checkRecords(api: dict[str, dict[str, list[str]]], current_ip: str, log: Cal return records_to_renew -def renewRecords(api: dict[str, dict[str, list[str]]], current_ip: str, log: Callable[[str], Any], ttl: int = 3600) -> None: +def renewRecords(api: dict[str, dict[str, list[str]]], current_ip: str, log: Callable[[str], Any], ttl) -> None: # Updates the records and reates them if they don't exist payload = json.dumps({ 'items': [{