Skip to content

Commit

Permalink
slideshow.py: add return code on error (flipperdevices#1636)
Browse files Browse the repository at this point in the history
* slideshow.py: add return code on error
* Scripts: remove dead code

Co-authored-by: Lesha Lomalkin <[email protected]>
Co-authored-by: あく <[email protected]>
  • Loading branch information
3 people authored Aug 22, 2022
1 parent cfc0383 commit 4e1470c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/slideshow.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def pack(self):
file_idx += 1
except Exception as e:
self.logger.error(e)
break
return 3

widths = set(img.width for img in images)
heights = set(img.height for img in images)
Expand Down

0 comments on commit 4e1470c

Please sign in to comment.