Permalink
Browse files

fix client problem.

  • Loading branch information...
1 parent 2afd087 commit 415bedef490438f2284448028ca3f529e57f6717 @wonlay wonlay committed Dec 9, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 client/python/sin/sin_client.py
@@ -136,7 +136,7 @@ def getDoc(self, id):
if res.numHits > 0:
if res.hits and len(res.hits) > 0:
hit = res.hits[0]
- doc = hit.srcData
+ doc = hit.get('srcdata')
if doc:
return doc
else:

0 comments on commit 415bede

Please sign in to comment.