Skip to content

Commit

Permalink
Fixed: can't pickle response_content_processors
Browse files Browse the repository at this point in the history
  • Loading branch information
mnot committed Oct 16, 2023
1 parent 7c04e2c commit 4f8a56e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions redbot/resource/fetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ def __init__(self, config: SectionProxy) -> None:
def __getstate__(self) -> Dict[str, Any]:
state: Dict[str, Any] = thor.events.EventEmitter.__getstate__(self)
del state["exchange"]
del state["response_content_processors"]
return state

def __repr__(self) -> str:
Expand Down

0 comments on commit 4f8a56e

Please sign in to comment.