fixing issue #2
This commit is contained in:
parent
d2aef69d01
commit
a7458e3e20
|
@ -128,7 +128,12 @@ class Photo:
|
|||
with open(f, 'rb') as fd:
|
||||
tags = exifread.process_file(fd)
|
||||
|
||||
r = 'Horizontal (normal)'
|
||||
|
||||
try:
|
||||
r = str(tags['Image Orientation'])
|
||||
except:
|
||||
pass
|
||||
|
||||
# rotate as necessary
|
||||
|
||||
|
|
Loading…
Reference in New Issue