Skip to content

Commit

Permalink
Topic Link under Topic JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
sobtiankit committed Oct 18, 2011
1 parent 67518fb commit 6cacbc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/Util.py
Expand Up @@ -23,7 +23,7 @@ def obj_to_dict(obj):
for p in obj.properties():
element = getattr(obj, p)
if isinstance(element, db.Model):
objDict[p] = unicode(element.key().id())
objDict[p] = obj_to_dict(element)
else:
objDict[p] = unicode(element)
#return dict([(p, unicode(getattr(self, p))) for p in self.properties()])
Expand Down

0 comments on commit 6cacbc3

Please sign in to comment.