Skip to content

Commit

Permalink
fix bad json deserialisation in python3.6
Browse files Browse the repository at this point in the history
close #229 #218
  • Loading branch information
show0k committed Apr 4, 2017
1 parent c3cf8ee commit 8212c5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pypot/utils/interpolation.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def update(self, *args, **kwargs):
raise TypeError("update expected at most 1 arguments, got %d" % len(args))
other = dict(*args, **kwargs)
for key in other:
self[key] = other[key]
self[float(key)] = other[key]

def generate_tree(self):
self.__tree = cKDTree(self.__keys)
Expand Down

0 comments on commit 8212c5e

Please sign in to comment.