Fix typo.

This commit is contained in:
Ceda EI 2018-10-04 13:26:11 +05:30
parent 96f788d787
commit 261b2ce49b
1 changed files with 1 additions and 1 deletions

View File

@ -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.")