Moved telephone number to env file

This commit is contained in:
2021-03-08 08:48:05 +00:00
parent 22c9f124ec
commit 5a17cf6b0b
2 changed files with 2 additions and 1 deletions

View File

@@ -1,2 +1,3 @@
TWILIO_ACCOUNT_SID=''
TWILIO_AUTH_TOKEN=''
SMS_TO=''

View File

@@ -11,7 +11,7 @@ config = {
'api_url': 'https://www.boden.co.uk/api/stock/v1/styles?market=UK&language=en-gb&id=y1357',
'item_id': '40263442', # 40263447 low stock, 40263442 12-18m
'message_sent_file': './sent.txt',
'msg_to': '+447557447469',
'msg_to': os.environ['SMS_TO'],
'website_url': 'https://www.boden.co.uk/en-gb/rainbow-3-in-1-printed-jacket/sty-y1357',
'log_level': logging.WARN
}