Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
dkang-quora committed Nov 15, 2023
1 parent a91a8fc commit b6abc2d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions asynq/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,9 +307,9 @@ def decorate(fn):
if sync_fn is None:
return qcore.decorators.decorate(AsyncProxyDecorator, asyncio_fn)(fn)
else:
return qcore.decorators.decorate(AsyncAndSyncPairProxyDecorator, sync_fn, asyncio_fn)(
fn
)
return qcore.decorators.decorate(
AsyncAndSyncPairProxyDecorator, sync_fn, asyncio_fn
)(fn)

return decorate

Expand Down

0 comments on commit b6abc2d

Please sign in to comment.