Skip to content

Commit

Permalink
Log calls again now that the DB is setup
Browse files Browse the repository at this point in the history
  • Loading branch information
beaugunderson committed Jan 28, 2014
1 parent 88df2ed commit b2e1399
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from raven.contrib.flask import Sentry
from twilio import TwilioRestException

from models import aggregate_stats # , log_call
from models import aggregate_stats, log_call
from utils import play_or_say
from political_data import PoliticalData

Expand Down Expand Up @@ -242,8 +242,8 @@ def make_single_call():
@app.route('/call_complete', methods=call_methods)
def call_complete():
params, campaign = parse_params(request)
# TODO: Actually fix the database server
#log_call(db, params, campaign, request)

log_call(db, params, campaign, request)

resp = twilio.twiml.Response()

Expand Down

0 comments on commit b2e1399

Please sign in to comment.