Browse Source

Merge pull request #16 from github/dyn-td-province-fix

DynProvider Traffic Directors want lowercase province without country
pull/17/head
Ross McFarland 9 years ago
committed by GitHub
parent
commit
437badd41d
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      octodns/provider/dyn.py

+ 1
- 2
octodns/provider/dyn.py View File

@ -531,8 +531,7 @@ class DynProvider(BaseProvider):
for _, geo in geos: for _, geo in geos:
if geo.subdivision_code: if geo.subdivision_code:
criteria = { criteria = {
'country': geo.country_code,
'province': geo.subdivision_code
'province': geo.subdivision_code.lower()
} }
elif geo.country_code: elif geo.country_code:
criteria = { criteria = {


Loading…
Cancel
Save