Skip to content

Commit 101192c

Browse files
Fix formatting
1 parent d6d1c63 commit 101192c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

softioc/asyncio_dispatcher.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@ def __init__(self, loop=None, debug=False):
2020
# will wait until worker is executing the new loop
2121
started = threading.Event()
2222
# Make one and run it in a background thread
23-
self.__worker = threading.Thread(target=asyncio.run,
24-
args=(self.__inloop(started),),
25-
kwargs={'debug': debug})
23+
self.__worker = threading.Thread(
24+
target=asyncio.run,
25+
args=(self.__inloop(started),),
26+
kwargs={'debug': debug})
2627
# Explicitly manage worker thread as part of interpreter shutdown.
2728
# Otherwise threading module will deadlock trying to join()
2829
# before our atexit hook runs, while the loop is still running.

0 commit comments

Comments
 (0)