Merge pull request #3763 from fonttools/fix-mp-fealib

[feaLib] Make FeatureLibError pickleable (#3762)
This commit is contained in:
Cosimo Lupo 2025-02-03 17:09:54 +00:00 committed by GitHub
commit 520c9830c2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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