mirror of
https://github.com/zhigang1992/mitmproxy.git
synced 2026-04-29 04:35:02 +08:00
minor fixes
This commit is contained in:
@@ -3,7 +3,7 @@ from __future__ import absolute_import
|
||||
|
||||
class ProxyError(Exception):
|
||||
def __init__(self, code, message, headers=None):
|
||||
super(ProxyError, self).__init__(self, message)
|
||||
super(ProxyError, self).__init__(message)
|
||||
self.code, self.headers = code, headers
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user