Skip to content

Commit

Permalink
Compat with the latest Cloudflare python library
Browse files Browse the repository at this point in the history
  • Loading branch information
dvershinin committed Feb 25, 2023
1 parent 14b9386 commit a611742
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cloudflareddns/cloudflareddns.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ def cloudflare_creds_helper(email=None, key=None):
os.environ['CF_API_KEY'] = os.getenv('CF_API_TOKEN')
if 'CF_API_EMAIL' in os.environ:
del os.environ['CF_API_EMAIL']
del os.environ['CF_API_TOKEN']

if email:
# allow special value 'x' for email when using TOKENs
Expand Down

0 comments on commit a611742

Please sign in to comment.