Browse Source

Environment variables are strings, so convert to a float first.

pull/165/head
Terrence Cole 9 years ago
parent
commit
8d86002382
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      octodns/provider/rackspace.py

+ 1
- 1
octodns/provider/rackspace.py View File

@ -72,7 +72,7 @@ class RackspaceProvider(BaseProvider):
auth_token, dns_endpoint = self._get_auth_token(username, api_key) auth_token, dns_endpoint = self._get_auth_token(username, api_key)
self.dns_endpoint = dns_endpoint self.dns_endpoint = dns_endpoint
self.ratelimit_delay = ratelimit_delay
self.ratelimit_delay = float(ratelimit_delay)
sess = Session() sess = Session()
sess.headers.update({'X-Auth-Token': auth_token}) sess.headers.update({'X-Auth-Token': auth_token})


Loading…
Cancel
Save