fix cast formatting
This commit is contained in:
@@ -60,8 +60,8 @@ class Authenticator(dns_common.DNSAuthenticator):
|
||||
def _get_luadns_client(self) -> "_LuaDNSLexiconClient":
|
||||
if not self.credentials: # pragma: no cover
|
||||
raise errors.Error("Plugin has not been prepared.")
|
||||
return _LuaDNSLexiconClient(cast(str,self.credentials.conf('email')),
|
||||
cast(str,self.credentials.conf('token')),
|
||||
return _LuaDNSLexiconClient(cast(str, self.credentials.conf('email')),
|
||||
cast(str, self.credentials.conf('token')),
|
||||
self.ttl)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user