Update gdbus.py

This commit is contained in:
Pascal Vizeli 2018-05-03 00:52:57 +02:00 committed by GitHub
parent 68824fab4f
commit dc77e2d8d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,7 +41,7 @@ class DBus:
async def connect(bus_name, object_path):
"""Read object data."""
self = DBus(bus_name, object_path)
self._init_proxy() # pylint: disable=protected-access
await self._init_proxy() # pylint: disable=protected-access
_LOGGER.info("Connect to dbus: %s - %s", bus_name, object_path)
return self