Skip to content

Commit

Permalink
Update submission.py
Browse files Browse the repository at this point in the history
  • Loading branch information
LilSpazJoekp committed Jul 19, 2020
1 parent a291bc9 commit a8f7915
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asyncpraw/models/reddit/submission.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ async def comments(self) -> CommentForest:
submission.comment_sort = "new"
comments = await submission.comments()
comment_list = await comments.list()
for comment in list:
for comment in comment_list:
# do stuff with comment
.. note:: The appropriate values for ``comment_sort`` include
Expand Down

0 comments on commit a8f7915

Please sign in to comment.