diff options
| author | Scott <[email protected]> | 2022-02-02 13:09:30 -0800 |
|---|---|---|
| committer | Scott <[email protected]> | 2022-02-02 13:09:30 -0800 |
| commit | 6ba90a1f30f1c0cf4df12fcd0c62181f29bc3668 (patch) | |
| tree | 6c4d558173ed76df50f7b2f88af8f99119d932ab /smart_home/device.py | |
| parent | 31c81f6539969a5eba864d3305f9fb7bf716a367 (diff) | |
Make subdirs type clean too.
Diffstat (limited to 'smart_home/device.py')
| -rw-r--r-- | smart_home/device.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/smart_home/device.py b/smart_home/device.py index 9675b7c..02717a3 100644 --- a/smart_home/device.py +++ b/smart_home/device.py @@ -8,17 +8,17 @@ import arper class Device(object): def __init__( - self, - name: str, - mac: str, - keywords: Optional[List[str]], + self, + name: str, + mac: str, + keywords: Optional[List[str]], ): self.name = name self.mac = mac self.keywords = keywords self.arper = arper.Arper() if keywords is not None: - self.kws = keywords.split() + self.kws = keywords else: self.kws = [] |
