Fix error with byte values in EXIF plugin.

Sometimes an EXIF tag contains raw bytes rather than an EXIFClass object.
Return the raw bytes as a string.

Change-Id: I7a0b1a9ba4e8e810093ab6030bcdca6adcee523b
This commit is contained in:
Robert Putt 2018-03-09 10:34:46 +00:00
parent 819c104d9e
commit 97b054605c
1 changed files with 4 additions and 1 deletions

View File

@ -43,5 +43,8 @@ class NemesisPlugin(object):
ret_tags = {}
for k, v in tags.items():
ret_tags[k] = v.printable
try:
ret_tags[k] = v.printable
except AttributeError:
ret_tags[k] = str(v)
return ret_tags