From e5147235cc77556baa946ad9452f8d6a6b8270cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Arnauts?= Date: Wed, 17 Jun 2015 23:40:58 +0200 Subject: [PATCH] More code style fixes --- homeassistant/components/device_tracker/tplink.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/device_tracker/tplink.py b/homeassistant/components/device_tracker/tplink.py index 49d31a2aefd..9bc756d745a 100755 --- a/homeassistant/components/device_tracker/tplink.py +++ b/homeassistant/components/device_tracker/tplink.py @@ -69,7 +69,7 @@ class TplinkDeviceScanner(object): host = config[CONF_HOST] username, password = config[CONF_USERNAME], config[CONF_PASSWORD] - self.parse_macs = re.compile('[0-9A-F]{2}-[0-9A-F]{2}-[0-9A-F]{2}-'+ + self.parse_macs = re.compile('[0-9A-F]{2}-[0-9A-F]{2}-[0-9A-F]{2}-' + '[0-9A-F]{2}-[0-9A-F]{2}-[0-9A-F]{2}') self.host = host @@ -89,7 +89,7 @@ class TplinkDeviceScanner(object): return self.last_results def get_device_name(self, device): - """ The TP-Link firmware doesn't save the name of the wireless + """ The TP-Link firmware doesn't save the name of the wireless device. """ return None