fix AttributeError when unpickling
This commit is contained in:
parent
c698c1d6c6
commit
4c611995b8
1 changed files with 2 additions and 0 deletions
|
@ -153,6 +153,8 @@ class BaseRouterProxy:
|
|||
return result
|
||||
|
||||
def __getattr__(self, name):
|
||||
if name == '__setstate__':
|
||||
raise AttributeError
|
||||
return getattr(self.src, name)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue