Fix typo.
This commit is contained in:
parent
96f788d787
commit
261b2ce49b
2
lock.py
2
lock.py
|
@ -23,7 +23,7 @@ if arg == "lock":
|
||||||
bot.send_message(chat_id=config.master_id, text=text)
|
bot.send_message(chat_id=config.master_id, text=text)
|
||||||
elif arg == "unlock":
|
elif arg == "unlock":
|
||||||
today = datetime.datetime.today()
|
today = datetime.datetime.today()
|
||||||
text = today.strftime(config.lock_message)
|
text = today.strftime(config.unlock_message)
|
||||||
bot.send_message(chat_id=config.master_id, text=text)
|
bot.send_message(chat_id=config.master_id, text=text)
|
||||||
else:
|
else:
|
||||||
print("Wrong parameter. Exiting.")
|
print("Wrong parameter. Exiting.")
|
||||||
|
|
Loading…
Reference in New Issue