mirror of
https://github.com/ARM-software/devlib.git
synced 2025-01-31 02:00:45 +00:00
devlib.target: Fix AndroidTarget unpickle
Fix __setstate__ to call super().__setstate__ in order to handle the generic part of the deserialization.
This commit is contained in:
parent
492284f46d
commit
b7ef2dc2e0
@ -1798,7 +1798,7 @@ class AndroidTarget(Target):
|
||||
}
|
||||
|
||||
def __setstate__(self, dct):
|
||||
self.__dict__.update(dct)
|
||||
super().__setstate__(dct)
|
||||
self._init_logcat_lock()
|
||||
|
||||
@asyn.asyncf
|
||||
|
Loading…
x
Reference in New Issue
Block a user