Skip to content

Commit

Permalink
fix UserProfilePhotos
Browse files Browse the repository at this point in the history
  • Loading branch information
z44d committed Jul 7, 2024
1 parent b0dfce5 commit 16bfe1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tgram/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -2930,7 +2930,7 @@ def _parse(
me=me,
json=d,
total_count=d.get("total_count"),
photos=[PhotoSize._parse(me=me, d=i) for i in d.get("photos")]
photos=[[PhotoSize._parse(None, x) for x in y] for y in d.get("photos")]
if d.get("photos")
else None,
)
Expand Down

0 comments on commit 16bfe1b

Please sign in to comment.