From 9676eab592b49759a5f66a456c2af6531aa82736 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Fri, 5 Feb 2016 15:18:27 +0100 Subject: [PATCH] qutescheme: call base __init__ in QuteSchemeError --- qutebrowser/browser/network/qutescheme.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qutebrowser/browser/network/qutescheme.py b/qutebrowser/browser/network/qutescheme.py index 8e8f0f200..1cc369694 100644 --- a/qutebrowser/browser/network/qutescheme.py +++ b/qutebrowser/browser/network/qutescheme.py @@ -72,9 +72,9 @@ class QuteSchemeError(Exception): def __init__(self, errorstring, error): """Constructor.""" - self.errorstring = errorstring self.error = error + super().__init__(errorstring) class QuteSchemeHandler(schemehandler.SchemeHandler):