Skip to content

Commit

Permalink
Fix incompatible types of DeserializationError
Browse files Browse the repository at this point in the history
  • Loading branch information
cassiobotaro committed Nov 3, 2021
1 parent c1be4e3 commit d074a7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared_memory_dict/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def __init__(self, data: dict) -> None:


class DeserializationError(ValueError):
def __init__(self, data: dict) -> None:
def __init__(self, data: bytes) -> None:
super().__init__(f"Failed to deserialize data: {data!r}")


Expand Down

0 comments on commit d074a7b

Please sign in to comment.