mirror of
https://github.com/soxoj/maigret.git
synced 2026-09-11 12:27:42 +02: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:
co-authored by
zocomputer
parent
7a31328325
commit
28cb6c9ffb
@@ -61,8 +61,6 @@ class SimpleAiohttpChecker(CheckerBase):
|
||||
self.headers = None
|
||||
self.allow_redirects = True
|
||||
self.timeout = 0
|
||||
self.allow_redirects = True
|
||||
self.timeout = 0
|
||||
self.method = 'get'
|
||||
self.payload = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user