Remove unnecessary `count` from DomainBlock object.
This commit is contained in:
parent
e59187d98f
commit
e0207c4371
|
@ -123,8 +123,7 @@ class DomainBlock(object):
|
||||||
reject_media: bool=False,
|
reject_media: bool=False,
|
||||||
reject_reports: bool=False,
|
reject_reports: bool=False,
|
||||||
obfuscate: bool=False,
|
obfuscate: bool=False,
|
||||||
id: int=None,
|
id: int=None):
|
||||||
count: int=0):
|
|
||||||
"""Initialize the DomainBlock
|
"""Initialize the DomainBlock
|
||||||
"""
|
"""
|
||||||
self.domain = domain
|
self.domain = domain
|
||||||
|
@ -135,7 +134,6 @@ class DomainBlock(object):
|
||||||
self.reject_reports = reject_reports
|
self.reject_reports = reject_reports
|
||||||
self.obfuscate = obfuscate
|
self.obfuscate = obfuscate
|
||||||
self.id = id
|
self.id = id
|
||||||
self.count = 0
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def severity(self):
|
def severity(self):
|
||||||
|
|
Loading…
Reference in New Issue