diff --git a/Lib/fontTools/feaLib/error.py b/Lib/fontTools/feaLib/error.py index a2c5f9dbb..c5fed4934 100644 --- a/Lib/fontTools/feaLib/error.py +++ b/Lib/fontTools/feaLib/error.py @@ -1,5 +1,5 @@ class FeatureLibError(Exception): - def __init__(self, message, location): + def __init__(self, message, location=None): Exception.__init__(self, message) self.location = location