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
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user