summaryrefslogtreecommitdiff
path: root/app.py
diff options
context:
space:
mode:
authorYuval Adam <yuv.adm@gmail.com>2012-03-14 00:26:46 -0700
committerYuval Adam <yuv.adm@gmail.com>2012-03-14 00:26:46 -0700
commitb1e8a0671205c36fa3561228555fe3c74de03fc4 (patch)
treec0bdfa1e8bacf5b286d6ae86f0d015f1794cee9d /app.py
parent8910ba6740580595a33b19a8a58fc432778be565 (diff)
need to return the data
Diffstat (limited to 'app.py')
-rw-r--r--app.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app.py b/app.py
index 4a9e3b6..95d38cf 100644
--- a/app.py
+++ b/app.py
@@ -14,7 +14,7 @@ def index(name='home'):
def sig(id='home'):
url = 'https://pinkyswear.cloudant.com/pinkyswear/%s' % id
r = requests.get(url, auth=('pinkyswear', 'abc123'))
- return r.content
+ return json.loads(r.content)['s']
@post('/s')
def sig(id='home'):