Permalink
Browse files

fat fingered some of the encoding/decoding stuff for features

  • Loading branch information...
1 parent fb14254 commit 7c69c06dd89991dcb63a6cb584ab37f58114a843 @oostendo oostendo committed Jun 10, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 SimpleSeer/models/FrameFeature.py
@@ -81,7 +81,7 @@ def setFeature(self, data):
self.width = scv_cleanse(data.width())
self.height = scv_cleanse(data.height())
self.angle = scv_cleanse(data.angle())
- self.meancolor = scv_cleanse(data.meanColor())
+ #self.meancolor = scv_cleanse(data.meanColor())
self.featuretype = data.__class__.__name__
datadict = {}
@@ -114,9 +114,9 @@ def __getstate__(self):
if k in skipfields:
continue
- v = self._data[k]
+ ret[k] = self._data[k]
if k == "inspection":
- ret[k] = str(v)
+ ret[k] = str(self._data[k])
#handle all children
ret["children"] = [c.__getstate__() for c in self.children]

0 comments on commit 7c69c06

Please sign in to comment.