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