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)
|
||||
elif arg == "unlock":
|
||||
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)
|
||||
else:
|
||||
print("Wrong parameter. Exiting.")
|
||||
|
|
Loading…
Reference in New Issue