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]
/
TileSupport.py
diff --git
a/TileSupport.py
b/TileSupport.py
index
905b0f4
..
1dd9c0f
100644
(file)
--- a/
TileSupport.py
+++ b/
TileSupport.py
@@
-92,7
+92,7
@@
class TileSupport :
f = bf.open('r')
orientation = self.tiffOrientation()
f = bf.open('r')
orientation = self.tiffOrientation()
- rotation, flip = TIFF_ORIENTATIONS
[orientation]
+ rotation, flip = TIFF_ORIENTATIONS
.get(orientation, (0, False))
if rotation and flip :
tf = TemporaryFile(mode='w+')
if rotation and flip :
tf = TemporaryFile(mode='w+')