------------------------…

------------------------…



------------------------------------------------------------------------------------------------------------------------
555 process_update dispatcher.py
> handler.handle_update(update, self, check, context)

---

110 handle_update handlers.py
> return self.callback(update, context)

---

51 totranslate gtranslator.py
> if dest_lang is None:

UnboundLocalError:
local variable 'dest_lang' referenced before assignment

-------------------------------------------------------------------------------
An exception was raised while handling an update
User: 5030730429
Chat: Anime Chat Official [EN] -1001230874922
Callback data: None
Message: /tr en-ja

Full Traceback: Traceback (most recent call last):
File "E:\SaitamaRobot\env\lib\site-packages\telegram\ext\dispatcher.py", line 555, in process_update
handler.handle_update(update, self, check, context)
File "E:\SaitamaRobot\SaitamaRobot\modules\helper_funcs\handlers.py", line 110, in handle_update
return self.callback(update, context)
File "E:\SaitamaRobot\SaitamaRobot\modules\gtranslator.py", line 51, in totranslate
if dest_lang is None:
UnboundLocalError: local variable 'dest_lang' referenced before assignment

Report Page