Fix dnssec update when reload the domain information.

This commit is contained in:
Khanh Ngo 2016-07-04 22:12:24 +07:00
parent 2e68af84e9
commit 6307656e97

View File

@ -500,7 +500,7 @@ class Domain(db.Model):
d.serial = data['serial'] d.serial = data['serial']
d.notified_serial = data['notified_serial'] d.notified_serial = data['notified_serial']
d.last_check = 1 if data['last_check'] else 0 d.last_check = 1 if data['last_check'] else 0
d.dnssec = data['dnssec'] d.dnssec = 1 if data['dnssec'] else 0
changed = True changed = True
else: else: