Skip to content

Commit

Permalink
Actually export more than 2 images for MIVS
Browse files Browse the repository at this point in the history
  • Loading branch information
kitsuta committed Jan 5, 2025
1 parent 2d4ed86 commit 5038255
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions uber/models/mivs.py
Original file line number Diff line number Diff line change
Expand Up @@ -399,9 +399,9 @@ def accepted_image_download_filenames(self, count=2):
filename = '{}_{}.{}'.format(
name, len(screenshots) + 1, screenshot.extension.lower())
screenshots.append(filename)
if len(screenshots) >= count:
if len(screenshots) >= (count + 2):
break
return screenshots + ([''] * (count - len(screenshots)))
return screenshots + ([''] * ((count + 2) - len(screenshots)))

@property
def promo_image(self):
Expand Down

0 comments on commit 5038255

Please sign in to comment.