Skip to content

Commit

Permalink
Trim CLOUDFLARE_FQDNS
Browse files Browse the repository at this point in the history
  • Loading branch information
pathofleastresistor committed Feb 19, 2024
1 parent f737129 commit b34d5d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion update.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ def extract_zone_and_fqdn(fqdn):
return domain, fqdn

def group_fqdn_by_zone(fqdns_string):
fqdns_list = fqdns_string.split(',')
formatted_fqdns = ''.join(fqdns_string.split())
fqdns_list = formatted_fqdns.split(',')
domain_groups = {}

for fqdn in fqdns_list:
Expand Down

0 comments on commit b34d5d2

Please sign in to comment.