Don't ever send plain whitespace a search pattern
parent
ea3d96e7ed
commit
a31b83c5ca
|
@ -735,7 +735,7 @@ async def fill_results(
|
|||
text = bar.text()
|
||||
# print(f'search: {text}')
|
||||
|
||||
if not text:
|
||||
if not text or text.isspace():
|
||||
# print('idling')
|
||||
_search_active = trio.Event()
|
||||
break
|
||||
|
|
Loading…
Reference in New Issue