Minor clean-up
This commit is contained in:
		
							parent
							
								
									79d87e4de9
								
							
						
					
					
						commit
						b9f7992c23
					
				@ -18,10 +18,6 @@ MINUTE = 60
 | 
				
			|||||||
DIR = os.path.dirname(os.path.abspath(__file__))
 | 
					DIR = os.path.dirname(os.path.abspath(__file__))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
icon = mute = disable_notifs = invert_icons = notify_thread = sound = None
 | 
					icon = mute = disable_notifs = invert_icons = notify_thread = sound = None
 | 
				
			||||||
#mute = False
 | 
					 | 
				
			||||||
#disable_notifs = False
 | 
					 | 
				
			||||||
#invert_icons = False
 | 
					 | 
				
			||||||
#notify_thread = None
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
def init():
 | 
					def init():
 | 
				
			||||||
    print("Initializing EyeStrainReminder...")
 | 
					    print("Initializing EyeStrainReminder...")
 | 
				
			||||||
@ -69,8 +65,7 @@ def uninit():
 | 
				
			|||||||
    notify2.uninit()
 | 
					    notify2.uninit()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def wait():
 | 
					def wait():
 | 
				
			||||||
    #sleep(TIMEOUT*MINUTE)
 | 
					    sleep(TIMEOUT*MINUTE)
 | 
				
			||||||
    pass
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
def send_notification():
 | 
					def send_notification():
 | 
				
			||||||
    if not disable_notifs:
 | 
					    if not disable_notifs:
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user