diff --git a/gandi-ddns.py b/gandi-ddns.py index 12e0c345c28b928b187be004f46811b19b805641..e71ae3b542307db9aa7aadc8651c6a71dc897cd0 100755 --- a/gandi-ddns.py +++ b/gandi-ddns.py @@ -4,6 +4,7 @@ import os import requests import json import ipaddress +from datetime import datetime config_file = "config.txt" @@ -62,6 +63,7 @@ def main(): sys.exit("Please fill in the 'config.txt' file.") for section in config.sections(): + print('%s - section %s' % (str(datetime.now()), section)) #Retrieve API key apikey = config.get(section, 'apikey')