Skip to content

Commit

Permalink
Fix demo script
Browse files Browse the repository at this point in the history
  • Loading branch information
MuffinFox committed Sep 21, 2021
1 parent 4e240bf commit ff92c0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/demo_user_pager.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ def printPage(page):
user = api.get_user_object(username)
page = api.user_page(user["id"], user["secUid"], page_size=30, after=APR_24)

printPage(page["items"])
new_posts = len(page["items"])
printPage(page['itemList'])
new_posts = len(page['itemList'])
print("{} has {} posts after {}".format(username, new_posts, APR_24))


Expand Down

0 comments on commit ff92c0a

Please sign in to comment.