From b0631cc259ca64e1b6a8ae512e8fa66a94acb72d Mon Sep 17 00:00:00 2001 From: Kai Wansart Date: Fri, 2 Feb 2018 20:37:40 +0100 Subject: [PATCH] fix wol --- app/devices/wol.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app/devices/wol.py b/app/devices/wol.py index 82ed158..6e464a5 100644 --- a/app/devices/wol.py +++ b/app/devices/wol.py @@ -29,18 +29,13 @@ class WOL(object): def command(self, data): ##-----------------------------------------------------------------------------------## for device in data: - print(device) - print(data) - print(self.devices) if device in self.devices: self.wakeDevice(self.devices[device]) - print(device) - print(self.devices[device]) ##-----------------------------------------------------------------------------------## def wakeDevice(self, device): ##-----------------------------------------------------------------------------------## - print("Waking up Device: " + device + " mac: " + self.devices[device]) + print("Waking up Device: " + device + " mac: " + str(self.devices[device])) wol.send_magic_packet(self.devices[device])