Fix pylint warning on python 3.7 (#21714)

pull/21734/head
Jason Hu 2019-03-06 21:47:56 -08:00 committed by Daniel Høyer Iversen
parent f4a9ad0b2e
commit a85119ac09
1 changed files with 2 additions and 1 deletions

View File

@ -184,7 +184,8 @@ class EQ3BTSmartThermostat(ClimateDevice):
def update(self):
"""Update the data from the thermostat."""
from bluepy.btle import BTLEException # pylint: disable=import-error
# pylint: disable=import-error,no-name-in-module
from bluepy.btle import BTLEException
try:
self._thermostat.update()
except BTLEException as ex: