aboutsummaryrefslogtreecommitdiff
path: root/server/szurubooru/api/post_api.py
diff options
context:
space:
mode:
authorrr-2017-01-25 17:10:19 +0100
committerrr-2017-01-25 17:11:05 +0100
commit0cfc9bcafd716c736fab307cf02e3a34fa393cd5 (patch)
treef014e5ef5361aad9b747ba00a9f5854e631d4881 /server/szurubooru/api/post_api.py
parent9b27e113b37ccefca54c682ac7cfdafc5beead46 (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

© 2015 - 2026 Jakob L. Kreuze