8000 closing #82 · pygeek/django-thumbnail@3d98849 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3d98849

Browse files
author
Mikko Hellsing
committed
closing jazzband#82
1 parent 0de26b4 commit 3d98849

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sorl/thumbnail/engines/convert_engine.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def _orientation(self, image):
9393
p = Popen(args, stdout=PIPE)
9494
p.wait()
9595
result = p.stdout.read().strip()
96-
if result:
96+
if result and result != 'unknown':
9797
result = int(result)
9898
options = image['options']
9999
if result == 2:

0 commit comments

Comments
 (0)
0