Closed k-redas closed 5 months ago
Hm, that's weird. seems like the JSON user output does not have photo_id attributes. Can you share the screenshot of the error + coordinates to test it from our side. Thanks
i test with this : line 153
"photo_id": user_info.photo.photo_id if user_info.photo and hasattr(user_info.photo, 'photo_id') else None,
it works
Hi,
Your tool likes very cool...i would like to test it. But, I have this message after with all config OK. What can i do ?
Traceback (most recent call last): File "/home/myID/tools/telegram/CCTV/start.py", line 153, in
"photo_id": user_info.photo.photo_id if user_info.photo else None,
^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'UserProfilePhotoEmpty' object has no attribute 'photo_id'