mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-04-29 04:35:02 +08:00
fix layer initialization
This commit is contained in:
@@ -61,8 +61,8 @@ class Layer(_LayerCodeCompletion):
|
||||
Args:
|
||||
ctx: The (read-only) higher layer.
|
||||
"""
|
||||
super(Layer, self).__init__(*args, **kwargs)
|
||||
self.ctx = ctx
|
||||
super(Layer, self).__init__(*args, **kwargs)
|
||||
|
||||
def __call__(self):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user