From 6454fb08977b0cf5c9ee6d1b7ea92962df159cbd Mon Sep 17 00:00:00 2001 From: Neil Johnson Date: Wed, 5 Dec 2018 23:15:39 +0000 Subject: [PATCH] constructor should pass its own type to super --- matrix_client/errors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix_client/errors.py b/matrix_client/errors.py index e9dc8fe3..be135640 100644 --- a/matrix_client/errors.py +++ b/matrix_client/errors.py @@ -23,7 +23,7 @@ class MatrixUnexpectedResponse(MatrixError): """The home server gave an unexpected response. """ def __init__(self, content=""): - super(MatrixError, self).__init__(content) + super(MatrixUnexpectedResponse, self).__init__(content) self.content = content