1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00

use the generic replacement field specifier

This commit is contained in:
Mark Mercado
2020-02-05 14:40:44 -05:00
parent 5d984ba5a9
commit cf3dc94315

View File

@@ -82,7 +82,7 @@ class CloudflareProvider(BaseProvider):
# https://api.cloudflare.com/#getting-started-requests
# https://tools.ietf.org/html/rfc6750#section-2.1
sess.headers.update({
'Authorization': 'Bearer %s'.format(token),
'Authorization': 'Bearer {}'.format(token),
})
self.cdn = cdn
self._sess = sess