Fix unmatched field in Authorization

The field in the formatted string was not matching the args
This commit is contained in:
Javier Ramos 2020-07-02 16:41:19 +02:00 committed by GitHub
parent 5870ff4713
commit 1f598e3752
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,7 @@ class Authorization(db.Model):
return plugins.get(self.plugin_name)
def __repr__(self):
return "Authorization(id={id})".format(label=self.id)
return "Authorization(id={id})".format(id=self.id)
def __init__(self, account_number, domains, dns_provider_type, options=None):
self.account_number = account_number