mirror of
https://github.com/soxoj/maigret.git
synced 2026-05-13 18:05:39 +00:00
Remove duplicate attribute initialization in SimpleAiohttpChecker.__init__ (#2513)
self.allow_redirects and self.timeout were each initialized twice in SimpleAiohttpChecker.__init__, which is redundant code. Co-authored-by: zocomputer <help@zocomputer.com>
This commit is contained in:
@@ -61,8 +61,6 @@ class SimpleAiohttpChecker(CheckerBase):
|
|||||||
self.headers = None
|
self.headers = None
|
||||||
self.allow_redirects = True
|
self.allow_redirects = True
|
||||||
self.timeout = 0
|
self.timeout = 0
|
||||||
self.allow_redirects = True
|
|
||||||
self.timeout = 0
|
|
||||||
self.method = 'get'
|
self.method = 'get'
|
||||||
self.payload = None
|
self.payload = None
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user