projects
/
Photo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bugfixe : valeur par défaut quand l'orientation n'est pas dispo.
[Photo.git]
/
Photo.py
diff --git
a/Photo.py
b/Photo.py
index
2161eaf
..
68b67f3
100755
(executable)
--- a/
Photo.py
+++ b/
Photo.py
@@
-194,7
+194,7
@@
class Photo(Image, TileSupport, Metadata):
def _rotateOrFlip(self, im) :
orientation = self.tiffOrientation()
- rotation, flip = TIFF_ORIENTATIONS
[orientation]
+ rotation, flip = TIFF_ORIENTATIONS
.get(orientation, (0, False))
if rotation :
im = im.rotate(-rotation)
if flip :