mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2025-01-07 19:05:39 +00:00
Fixing string format
This commit is contained in:
parent
40cb835b0e
commit
38d1d85a18
@ -774,7 +774,7 @@ class Domain(db.Model):
|
|||||||
domain = Domain.query.filter(Domain.name==name).first()
|
domain = Domain.query.filter(Domain.name==name).first()
|
||||||
return domain.id
|
return domain.id
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logging.error('Domain does not exist. ERROR: {1}'.format(e))
|
logging.error('Domain does not exist. ERROR: {0}'.format(e))
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def update(self):
|
def update(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user