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:
Lesha Lomalkin 2022-08-22 19:24:08 +03:00 committed by GitHub
parent cfc0383b96
commit 4e1470cef2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,7 +36,7 @@ class Main(App):
file_idx += 1 file_idx += 1
except Exception as e: except Exception as e:
self.logger.error(e) self.logger.error(e)
break return 3
widths = set(img.width for img in images) widths = set(img.width for img in images)
heights = set(img.height for img in images) heights = set(img.height for img in images)