fix track(enumerate()) order
This commit is contained in:
1 parent
f0514598e0
commit
8dc892d1b5
1 file changed
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user