Update main.py
This commit is contained in:
		
							parent
							
								
									1d78becdd4
								
							
						
					
					
						commit
						86c0ee3d1a
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -90,7 +90,7 @@ while True:
 | 
			
		|||
                                    time.sleep(1)
 | 
			
		||||
                                    i -= 1
 | 
			
		||||
                                    if i == 0:
 | 
			
		||||
                                        display.set_string("msg.txt", "Alarm Active!! Please close the door"")
 | 
			
		||||
                                        display.set_string("msg.txt", "Alarm Active!! Please close the door")
 | 
			
		||||
                                        actrl.activate_alarm()
 | 
			
		||||
                                else:
 | 
			
		||||
                                    actrl.lock_door()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue