diff options
| author | Yuval Adam <yuv.adm@gmail.com> | 2012-03-14 00:26:46 -0700 |
|---|---|---|
| committer | Yuval Adam <yuv.adm@gmail.com> | 2012-03-14 00:26:46 -0700 |
| commit | b1e8a0671205c36fa3561228555fe3c74de03fc4 (patch) | |
| tree | c0bdfa1e8bacf5b286d6ae86f0d015f1794cee9d /app.py | |
| parent | 8910ba6740580595a33b19a8a58fc432778be565 (diff) | |
need to return the data
Diffstat (limited to 'app.py')
| -rw-r--r-- | app.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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'): |
