Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fat fingered some of the encoding/decoding stuff for features

  • Loading branch information...
commit 7c69c06dd89991dcb63a6cb584ab37f58114a843 1 parent fb14254
@oostendo oostendo authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 SimpleSeer/models/FrameFeature.py
View
6 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]
Please sign in to comment.
Something went wrong with that request. Please try again.