mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-06 16:07:01 +08:00
fix: 修复AutoCloseResponse类在反序列化时无限递归
This commit is contained in:
@@ -76,6 +76,9 @@ class AutoCloseResponse:
|
|||||||
"""
|
"""
|
||||||
self._auto_close()
|
self._auto_close()
|
||||||
|
|
||||||
|
def __setstate__(self, state):
|
||||||
|
for name, value in state.items():
|
||||||
|
setattr(self, name, value)
|
||||||
|
|
||||||
class RequestUtils:
|
class RequestUtils:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user