Commit 6c209afa authored by Fabrice  ALLAIN's avatar Fabrice ALLAIN
Browse files

fix: Update ariabase.py getstate

parent 0465e1be
......@@ -249,7 +249,8 @@ class AriaBaseClass:
Remove logger attribute in order to pickle every ariabase object instance
"""
d = dict(self.__dict__)
del d['logger']
if 'logger' in d:
del d['logger']
return d
def __setstate__(self, d):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment