From 41e6e538dfa758b7d9f867f85f62e881ae408684 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Mon, 31 Aug 2015 13:49:47 +0200 Subject: [PATCH] fix layer initialization --- libmproxy/protocol/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmproxy/protocol/base.py b/libmproxy/protocol/base.py index d1af547fe..4eb843e48 100644 --- a/libmproxy/protocol/base.py +++ b/libmproxy/protocol/base.py @@ -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): """