aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPriit Laes <plaes@plaes.org>2010-07-02 09:06:09 +0300
committerPriit Laes <plaes@plaes.org>2010-07-02 09:06:09 +0300
commit1e25c01c284e9be4e1b2e6dc8e80cce16b677b59 (patch)
tree668d3801f76c96d1083e3a9686183443b6716e4a /grumpy/models.py
parentFall back to initial sync case when no previous updates found (diff)
downloadgsoc2010-grumpy-1e25c01c284e9be4e1b2e6dc8e80cce16b677b59.tar.gz
gsoc2010-grumpy-1e25c01c284e9be4e1b2e6dc8e80cce16b677b59.tar.bz2
gsoc2010-grumpy-1e25c01c284e9be4e1b2e6dc8e80cce16b677b59.zip
Use proper variable to return data from
Diffstat (limited to 'grumpy/models.py')
-rw-r--r--grumpy/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/grumpy/models.py b/grumpy/models.py
index 676458a..b530503 100644
--- a/grumpy/models.py
+++ b/grumpy/models.py
@@ -102,7 +102,7 @@ class Setting(Base):
@property
def data(self):
- return json.loads(data)
+ return json.loads(self.rawdata)
def __repr__(self):
return '<%s> - %s' % (self.__class__.__name__, self.name)