This website works better with JavaScript.
Home
Explore
Help
Sign In
RuhNetConsulting
/
octodns
mirror of
https://github.com/octodns/octodns
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
52
Wiki
Activity
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
08d8009b14
20351ba442
commit
437badd41d
1 changed files
with
1 additions
and
2 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
=
{
Write
Preview
Loading…
Cancel
Save