make pylint happy

This commit is contained in:
flukx 2024-08-18 08:22:54 +02:00
parent 17b37f0837
commit 26eee37757

View file

@ -128,7 +128,7 @@ async def list_parts(ui_element: nicegui.ui.element, parts: Iterable[Part]) -> N
# gives other searches 10 ms time to abort this display which might take long
await asyncio.sleep(0.01)
ui_element.clear()
with ((ui_element)):
with ui_element:
for part in parts:
card = ui.card()
# supplying card and part as default arguments makes it use the current