Skip to content

Commit

Permalink
remove bad register
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Durant committed Apr 27, 2020
1 parent fa1b094 commit ac782cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distributed/protocol/serialize.py
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ def normalize_Serialized(o):


# Teach serialize how to handle bytestrings
@dask_serialize.register((bytes, bytearray, memoryview))
@dask_serialize.register((bytes, bytearray))
def _serialize_bytes(obj):
header = {} # no special metadata
frames = [obj]
Expand Down

0 comments on commit ac782cc

Please sign in to comment.