Skip to content

Commit b94711f

Browse files
author
Golf Player
committed
I'm on crazy pills not getting this right....
1 parent fc093ee commit b94711f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nbclient/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ async def ensure_async(obj):
9494
def run_hook(hook, *args):
9595
if hook is None:
9696
return
97-
if not inspect.isawaitable(hook):
97+
if inspect.isawaitable(hook):
9898
future = hook(*args)
9999
else:
100100
loop = asyncio.get_event_loop()

0 commit comments

Comments
 (0)