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

DynProvider Traffic Directors want lowercase province without country
This commit is contained in:
Ross McFarland
2017-04-13 13:27:38 -07:00
committed by GitHub
+1 -2
View File
@@ -531,8 +531,7 @@ class DynProvider(BaseProvider):
for _, geo in geos:
if geo.subdivision_code:
criteria = {
'country': geo.country_code,
'province': geo.subdivision_code
'province': geo.subdivision_code.lower()
}
elif geo.country_code:
criteria = {