Mercurial > libervia-desktop-kivy
diff cagou/core/image.py @ 433:aa204c813f07
chat: attachment preview:
- if there is not already one, a preview is generated for images collection thumbnails,
instead of using the full size image.
- for images attachment, local path is now used if present, before URL.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 01 Mar 2020 22:11:25 +0100 |
parents | 1da3c379205b |
children | b5e8e470f7f7 |
line wrap: on
line diff
--- a/cagou/core/image.py Sun Mar 01 22:11:25 2020 +0100 +++ b/cagou/core/image.py Sun Mar 01 22:11:25 2020 +0100 @@ -47,7 +47,7 @@ anim_delay=self.anim_delay, keep_data=self.keep_data, nocache=self.nocache) - except Exception as e: + except Exception: # loading failed probably because of unmanaged extention, # we try our luck with with PIL try: