Skip to content

Commit

Permalink
Merge branch 'master' of github.com:mbarton/shout.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarton committed Apr 15, 2012
2 parents ae1249e + 3808349 commit 19455f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/shout-twilio.py
Expand Up @@ -104,7 +104,7 @@ def handle_recording():
resp.say("Thanks for shouting... take a listen to what you shouted.")
resp.play(recording_url)

push_to_pusher("samples", str(from_number), str(call_sid), str(recording_url) )
push_to_pusher("twilio", str(from_number), str(call_sid), str(samples[call_sid]) )

resp.say("Goodbye...")

Expand All @@ -117,7 +117,7 @@ def push_to_pusher(room, phone_nr, sample_id, sample_url):
return ""

def increment_count():
data["count"] = data["count"] + 1
data["count"] += 1
return data["count"]

@app.route("/list", methods=["GET", "POST"])
Expand Down

0 comments on commit 19455f0

Please sign in to comment.