wol fix
This commit is contained in:
		@@ -24,6 +24,14 @@ class WOL(object):
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
        return config
 | 
			
		||||
 | 
			
		||||
    ##-----------------------------------------------------------------------------------##
 | 
			
		||||
    def command(self, data):
 | 
			
		||||
    ##-----------------------------------------------------------------------------------##
 | 
			
		||||
        for device in data:
 | 
			
		||||
            if device in self.devices:
 | 
			
		||||
                self.wakeDevice(self.devices[device]['mac'])
 | 
			
		||||
 | 
			
		||||
    ##-----------------------------------------------------------------------------------##
 | 
			
		||||
    def wakeDevice(self, device):
 | 
			
		||||
    ##-----------------------------------------------------------------------------------##
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user