Fixing string format

This commit is contained in:
Khanh Ngo 2018-08-31 22:30:08 +07:00
parent 40cb835b0e
commit 38d1d85a18
No known key found for this signature in database
GPG Key ID: B9AE3BAF6D5A7B22

View File

@ -774,7 +774,7 @@ class Domain(db.Model):
domain = Domain.query.filter(Domain.name==name).first()
return domain.id
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
def update(self):