lint: various non-semantic fixes
This commit is contained in:
parent
cbd80cf7b3
commit
273dcb2a8a
5 changed files with 13 additions and 13 deletions
|
@ -17,7 +17,7 @@ class BlockMirrorAutomation(BaseAutomation):
|
|||
"""
|
||||
Constructor method.
|
||||
"""
|
||||
self.patterns = list()
|
||||
self.patterns = []
|
||||
super().__init__()
|
||||
|
||||
def automate(self, full: bool = False) -> Tuple[bool, str]:
|
||||
|
@ -25,7 +25,7 @@ class BlockMirrorAutomation(BaseAutomation):
|
|||
logging.debug("Fetch complete")
|
||||
self.parse()
|
||||
logging.debug("Parse complete")
|
||||
rotated = list()
|
||||
rotated = []
|
||||
proxy_urls = active_proxy_urls()
|
||||
for pattern in self.patterns:
|
||||
blocked_urls = fnmatch.filter(proxy_urls, pattern)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue