mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 08:33:07 +00:00
Add missing typehint to telegram class
This commit is contained in:
@@ -1174,7 +1174,7 @@ class Telegram(RPCHandler):
|
|||||||
text='Cancel', callback_data='force_exit__cancel')])
|
text='Cancel', callback_data='force_exit__cancel')])
|
||||||
await self._send_msg(msg="Which trade?", keyboard=buttons_aligned)
|
await self._send_msg(msg="Which trade?", keyboard=buttons_aligned)
|
||||||
|
|
||||||
async def _force_exit_action(self, trade_id):
|
async def _force_exit_action(self, trade_id: str):
|
||||||
if trade_id != 'cancel':
|
if trade_id != 'cancel':
|
||||||
try:
|
try:
|
||||||
loop = asyncio.get_running_loop()
|
loop = asyncio.get_running_loop()
|
||||||
|
|||||||
Reference in New Issue
Block a user