mirror of
				https://gitlab.com/ceda_ei/pc-monitor-bot
				synced 2025-10-30 21:50:05 +01:00 
			
		
		
		
	Fix typo.
This commit is contained in:
		
							
								
								
									
										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.") | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user