Skip to content

Commit 36420a6

Browse files
Merge pull request CabbageDevelopment#5 from selplacei/patch-1
Fix CabbageDevelopment#4
2 parents ad5d85d + 9c74843 commit 36420a6

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)