diff --git a/code/ddns-lambda.py b/code/ddns-lambda.py index 53b38b5..b561645 100755 --- a/code/ddns-lambda.py +++ b/code/ddns-lambda.py @@ -73,7 +73,7 @@ LOGGER = logging.getLogger() ACCOUNT = None REGION = None -VERSION = '0.1.7' +VERSION = '0.1.8' # Adjust the logging level [logging.INFO, logging.DEBUG, logging.WARNING, etc] LOGGER.setLevel(logging.DEBUG) @@ -616,7 +616,8 @@ def lambda_handler( }) add_heritage_item_timestamp(heritage, 'create_time') heritage_value = format_heritage(heritage) -# txt=format_heritage(h) + heritage_value = '"{}"'.format(heritage_value) if len( + heritage_value) else heritage_value # Create OR Delete the A / PTR Record if state == 'running': diff --git a/code/ddns-lambda.zip b/code/ddns-lambda.zip index 3ae3ff8..a93df63 100644 Binary files a/code/ddns-lambda.zip and b/code/ddns-lambda.zip differ