Copy and paste error
This commit is contained in:
parent
7d2528280b
commit
61aabc7ee2
@ -147,7 +147,7 @@ class Photo(object):
|
||||
decoded = TAGS.get(tag, tag)
|
||||
if isinstance(value, str) or isinstance(value, unicode):
|
||||
value = value.strip().partition("\x00")[0]
|
||||
if (isinstance(decoded, str) or isinstance(value, unicode)) and decoded.startswith("DateTime"):
|
||||
if (isinstance(decoded, str) or isinstance(decoded, unicode)) and decoded.startswith("DateTime"):
|
||||
try:
|
||||
value = datetime.strptime(value, '%Y:%m:%d %H:%M:%S')
|
||||
except KeyboardInterrupt:
|
||||
|
Loading…
Reference in New Issue
Block a user