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

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



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

---

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

---

174 get_id userinfo.py
> if reply.photo:

AttributeError:
'NoneType' object has no attribute 'photo'

-------------------------------------------------------------------------------
An exception was raised while handling an update
User: 726643789
Chat: None 726643789
Callback data: None
Message: /id 1719660492

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 122, in handle_update
return self.callback(update, context)
File "E:\SaitamaRobot\SaitamaRobot\modules\userinfo.py", line 174, in get_id
if reply.photo:
AttributeError: 'NoneType' object has no attribute 'photo'

Report Page