Skip to content

Commit

Permalink
fixes for twilio config
Browse files Browse the repository at this point in the history
  • Loading branch information
Jessica Martin committed Jun 20, 2018
1 parent a5a85f1 commit 58bb917
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import RPi.GPIO as GPIO
from sparkpost import SparkPost
from twilio.rest import twilioClient
from twilio.rest import Client
import time
import os

Expand All @@ -11,7 +11,7 @@
twilioKey = os.environ.get('TWILIOKEY')
twilioAccount = os.environ.get('TWILIOACCT')
sparky = SparkPost(sparkpostKey)
twilio = twilioClient(twilioAccount, twilioKey)
twilio = Client(twilioAccount, twilioKey)


# Yay, you don't have water anymore
Expand Down

0 comments on commit 58bb917

Please sign in to comment.