Skip to content

Commit

Permalink
Fix unawaited call
Browse files Browse the repository at this point in the history
Signed-off-by: alfred richardsn <rchrdsn@protonmail.ch>
  • Loading branch information
r4rdsn committed Nov 20, 2019
1 parent d1e2935 commit 2c2bdec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handlers/order.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ async def match_button(call: types.CallbackQuery, order: OrderType):
async def escrow_button(call: types.CallbackQuery, order: OrderType):
"""React to "Escrow" button by starting escrow exchange."""
if not config.ESCROW_ENABLED:
call.answer(
await call.answer(
_("Escrow is temporarily unavailable. Sorry for the inconvenience.")
)
return
Expand Down

0 comments on commit 2c2bdec

Please sign in to comment.