Skip to content

Commit 9c74843

Browse files
authored
1 parent 8e1868d commit 9c74843

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

qasync/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -656,8 +656,7 @@ def outer_decorator(fn):
656656
@Slot(*args)
657657
@functools.wraps(fn)
658658
def wrapper(*args, **kwargs):
659-
asyncio.ensure_future(fn(*args, **kwargs))
660-
659+
return asyncio.ensure_future(fn(*args, **kwargs))
661660
return wrapper
662661

663662
return outer_decorator

0 commit comments

Comments
 (0)