fix track(enumerate()) order

pull/788/head
CordlessCoder 3 years ago committed by GitHub
parent f0514598e0
commit 8dc892d1b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -57,8 +57,8 @@ def download_screenshots_of_reddit_posts(reddit_object, screenshot_num):
path="assets/temp/png/story_content.png" path="assets/temp/png/story_content.png"
) )
else: else:
for idx, comment in track( for idx, comment in enumerate(
enumerate(reddit_object["comments"]), "Downloading screenshots..." track(reddit_object["comments"], "Downloading screenshots...")
): ):
# Stop if we have reached the screenshot_num # Stop if we have reached the screenshot_num

Loading…
Cancel
Save