Skip to content

Commit 513f3f7

Browse files
committed
Fix black formatting issues
1 parent e4ad0f8 commit 513f3f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kasatk/__main__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,8 @@ def for_bulb(cls, loop, bulb: kasa.SmartBulb, config, *args, **kwargs):
237237
width=12,
238238
relief="sunken" if self.bulb.is_on else "raised",
239239
)
240-
self.power_button.bind("<ButtonRelease-1>",
240+
self.power_button.bind(
241+
"<ButtonRelease-1>",
241242
lambda event, self=self, loop=loop: asyncio.run_coroutine_threadsafe(
242243
self._power_callback(), loop
243244
),
@@ -286,7 +287,6 @@ async def process_devices():
286287
# https://stackoverflow.com/a/53724990/2796349
287288
self.device_queue = asyncio.Queue()
288289

289-
290290
while True:
291291
new_item = await self.device_queue.get()
292292
logging.info("Discovered device: {}".format(repr(new_item)))

0 commit comments

Comments
 (0)