From 264b7ca985eaab9603b4d97aa47615f3600d84ba Mon Sep 17 00:00:00 2001 From: Jens Kutilek Date: Mon, 3 Feb 2025 17:48:21 +0100 Subject: [PATCH] Make FeatureLibError pickleable (#3762) --- Lib/fontTools/feaLib/error.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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