about summary refs log tree commit diff
path: root/quality_control/errors.py
diff options
context:
space:
mode:
Diffstat (limited to 'quality_control/errors.py')
-rw-r--r--quality_control/errors.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/quality_control/errors.py b/quality_control/errors.py
index 993748c..0802159 100644
--- a/quality_control/errors.py
+++ b/quality_control/errors.py
@@ -19,5 +19,6 @@ class DuplicateHeader(Exception):
         super().__init__(self, *args)
 
 class ParseError(Exception):
-    def __init(self, *args):
-        super().__init__(*args)
+    """Raised if any of the above exceptions are raised"""
+    def __init__(self, *args):
+        super().__init__(self, *args)