Make FeatureLibError pickleable (#3762)
This commit is contained in:
parent
696719ba27
commit
264b7ca985
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user