diff --git a/gandi-ddns.py b/gandi-ddns.py index 27d806d32d40b5a999932c837bf95fea80a9c35a..fdcf96468b58948267251aab4abd3c3b023c9a88 100644 --- a/gandi-ddns.py +++ b/gandi-ddns.py @@ -60,7 +60,6 @@ def del_record(url, headers): def main(): - global api, zone_uuid path = config_file if not path.startswith('/'): path = os.path.join(SCRIPT_DIR, path)