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_reports: bool=False,
|
||||
obfuscate: bool=False,
|
||||
id: int=None,
|
||||
count: int=0):
|
||||
id: int=None):
|
||||
"""Initialize the DomainBlock
|
||||
"""
|
||||
self.domain = domain
|
||||
|
@ -135,7 +134,6 @@ class DomainBlock(object):
|
|||
self.reject_reports = reject_reports
|
||||
self.obfuscate = obfuscate
|
||||
self.id = id
|
||||
self.count = 0
|
||||
|
||||
@property
|
||||
def severity(self):
|
||||
|
|
Loading…
Reference in New Issue