Fixed bug in _asdict() of severity level.
This commit is contained in:
parent
101803eff2
commit
9817c99e40
|
@ -156,7 +156,7 @@ class DomainBlock(object):
|
||||||
"""
|
"""
|
||||||
dictval = {
|
dictval = {
|
||||||
'domain': self.domain,
|
'domain': self.domain,
|
||||||
'severity': self.severity,
|
'severity': str(self.severity),
|
||||||
'public_comment': self.public_comment,
|
'public_comment': self.public_comment,
|
||||||
'private_comment': self.private_comment,
|
'private_comment': self.private_comment,
|
||||||
'reject_media': self.reject_media,
|
'reject_media': self.reject_media,
|
||||||
|
|
Loading…
Reference in New Issue