This commit is contained in:
Kai Wansart 2018-02-02 20:15:16 +01:00
parent 702791ea99
commit 807e3ebc9e

View File

@ -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):