Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Feb 25, 2022
1 parent 1dcfa34 commit b9253db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code/ddns-lambda.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
LOGGER = logging.getLogger()
ACCOUNT = None
REGION = None
VERSION = '0.1.16'
VERSION = '0.1.17'

# Adjust the logging level [logging.INFO, logging.DEBUG, logging.WARNING, etc]
LOGGER.setLevel(logging.DEBUG)
Expand Down Expand Up @@ -713,8 +713,8 @@ def lambda_handler(
except BaseException as err:
LOGGER.info("unexpected error. %s\n", str(err) + lineno())

# else: # not running so delete the records
elif state == 'terminated':
# elif state == 'terminated':
else: # not running so delete the records
try:

# pause 1 before deleting to avoid API limit
Expand Down
Binary file modified code/ddns-lambda.zip
Binary file not shown.

0 comments on commit b9253db

Please sign in to comment.