mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2025-06-30 19:36:19 +00:00
Update README and LGTM fixes
This commit is contained in:
@ -287,8 +287,7 @@ class Domain(db.Model):
|
||||
account_id = None
|
||||
# add new domain
|
||||
d = Domain()
|
||||
d.name = domain['name'].rstrip(
|
||||
'.') # lgtm [py/modification-of-default-value]
|
||||
d.name = domain['name'].rstrip('.') # lgtm [py/modification-of-default-value]
|
||||
d.master = str(domain['masters'])
|
||||
d.type = domain['kind']
|
||||
d.serial = domain['serial']
|
||||
|
Reference in New Issue
Block a user