mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-10 06:54:19 +00:00
slideshow.py: add return code on error (#1636)
* slideshow.py: add return code on error * Scripts: remove dead code Co-authored-by: Lesha Lomalkin <info@lomalkin.ru> Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
parent
cfc0383b96
commit
4e1470cef2
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ class Main(App):
|
|||
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)
|
||||
|
|
Loading…
Reference in a new issue