diff options
| author | rr- | 2017-01-25 17:10:19 +0100 |
|---|---|---|
| committer | rr- | 2017-01-25 17:11:05 +0100 |
| commit | 0cfc9bcafd716c736fab307cf02e3a34fa393cd5 (patch) | |
| tree | f014e5ef5361aad9b747ba00a9f5854e631d4881 /server/szurubooru/api/post_api.py | |
| parent | 9b27e113b37ccefca54c682ac7cfdafc5beead46 (diff) | |
server/posts: fix handling corrupt files
In case of a ProcessingError, the image dimensions are set to None. But
after that, they are compared with 0, which resulted in a TypeError.
Diffstat (limited to 'server/szurubooru/api/post_api.py')
0 files changed, 0 insertions, 0 deletions