1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Use Python3 new super syntax sugar (#26890)

This commit is contained in:
Franck Nijhof
2019-09-25 00:38:20 +02:00
committed by Paulus Schoutsen
parent 6fdff9ffab
commit 9c9c921922
26 changed files with 30 additions and 30 deletions

View File

@@ -107,7 +107,7 @@ class NX584Watcher(threading.Thread):
def __init__(self, client, zone_sensors):
"""Initialize NX584 watcher thread."""
super(NX584Watcher, self).__init__()
super().__init__()
self.daemon = True
self._client = client
self._zone_sensors = zone_sensors