fix track(enumerate()) order

This commit is contained in:
CordlessCoder authored and GitHub committed 2022-07-02 00:29:48 +03:00
1 parent f0514598e0
commit 8dc892d1b5
1 file changed
+2 -2
+2 -2
View File
@@ -57,8 +57,8 @@ def download_screenshots_of_reddit_posts(reddit_object, screenshot_num):
path="assets/temp/png/story_content.png"
)
else:
for idx, comment in track(
enumerate(reddit_object["comments"]), "Downloading screenshots..."
for idx, comment in enumerate(
track(reddit_object["comments"], "Downloading screenshots...")
):
# Stop if we have reached the screenshot_num