changed logic order
This commit is contained in:
@@ -28,7 +28,6 @@ for id in j['Y1357']:
|
||||
print(f"Item is out of stock")
|
||||
else:
|
||||
print(f"Item is in stock")
|
||||
Path(message_sent_file).touch()
|
||||
# Your Account Sid and Auth Token from twilio.com/console
|
||||
# and set the environment variables. See http://twil.io/secure
|
||||
account_sid = os.environ['TWILIO_ACCOUNT_SID']
|
||||
@@ -43,4 +42,5 @@ for id in j['Y1357']:
|
||||
to='+447557447469'
|
||||
)
|
||||
|
||||
print(message.sid)
|
||||
print(message.sid)
|
||||
Path(message_sent_file).touch()
|
||||
Reference in New Issue
Block a user