Skip to content

Commit

Permalink
Node back-end: fix extra data concatenation for cached msgpack provider
Browse files Browse the repository at this point in the history
The extra data is expected to be in a list.
  • Loading branch information
tomka committed Apr 16, 2018
1 parent aa38505 commit 36e69b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/applications/catmaid/control/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def get_tuples(self, params, project_id, explicit_treenode_ids,
if tuples[0] != b'\x95':
raise ValueError("Unexpected cached Msgpack tuple format")

extra_msgpack = msgpack.packb(extra_tuples)
extra_msgpack = msgpack.packb([extra_tuples])

# Extend the five-element list with extra tuples by making it a
# six element list and just appending the extra list
Expand Down

0 comments on commit 36e69b8

Please sign in to comment.