Add missing typehint to telegram class

This commit is contained in:
Matthias
2024-04-02 07:14:30 +02:00
parent 7bb6c5e7bd
commit 55c0cfefec

View File

@@ -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()