Browse Source

length of answers check is unnecessary

pull/195/head
Steve Coursen 8 years ago
parent
commit
eb97b43d28
1 changed files with 3 additions and 4 deletions
  1. +3
    -4
      octodns/provider/ns1.py

+ 3
- 4
octodns/provider/ns1.py View File

@ -234,10 +234,9 @@ class Ns1Provider(BaseProvider):
)
params['filters'] = []
if has_country:
if len(params['answers']) > 1:
params['filters'].append(
{"filter": "shuffle", "config": {}}
)
params['filters'].append(
{"filter": "shuffle", "config": {}}
)
params['filters'].append(
{"filter": "geotarget_country", "config": {}}
)


Loading…
Cancel
Save