distributed: Fix msgpack encoder's float endianness
This commit is contained in:
parent
b5d2f72b48
commit
3f950d37df
|
|
@ -81,7 +81,7 @@ def msgpack_encode(dg, element):
|
|||
# Python does not distinguish between floats and doubles, so we send
|
||||
# everything as a double in MsgPack:
|
||||
dg.addUint8(0xcb)
|
||||
dg.addFloat64(element)
|
||||
dg.addBeFloat64(element)
|
||||
else:
|
||||
raise TypeError('Encountered non-MsgPack-packable value: %r' % element)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue