wol fix
This commit is contained in:
parent
702791ea99
commit
807e3ebc9e
@ -30,7 +30,7 @@ class WOL(object):
|
|||||||
##-----------------------------------------------------------------------------------##
|
##-----------------------------------------------------------------------------------##
|
||||||
for device in data:
|
for device in data:
|
||||||
if device in self.devices:
|
if device in self.devices:
|
||||||
self.wakeDevice(self.devices[device]['mac'])
|
self.wakeDevice(self.devices[device])
|
||||||
|
|
||||||
##-----------------------------------------------------------------------------------##
|
##-----------------------------------------------------------------------------------##
|
||||||
def wakeDevice(self, device):
|
def wakeDevice(self, device):
|
||||||
|
Reference in New Issue
Block a user