@staticmethod
def notify(toNumber, message):
    f = open('token.txt', 'r')
    (accountSid, authToken, fromNumber) = f.readlines()
    accountSid = accountSid.replace('\n', '')
    authToken = authToken.replace('\n', '')
    fromNumber = fromNumber.replace('\n', '')
    client = Client(accountSid, authToken)
    client.messages.create(to=toNumber, from_=fromNumber, body=message)
    print('SMS sent')
@staticmethod
def notify(toNumber, message):
    f = open('token.txt', 'r')
    (accountSid, authToken, fromNumber) = f.readlines()
    accountSid = accountSid.replace('\n', )
    authToken = authToken.replace('\n', )
    fromNumber = fromNumber.replace('\n', )
    client = Client(accountSid, authToken)
    client.messages.create(to=toNumber, from_=fromNumber, body=message)
    print('SMS sent')