summaryrefslogtreecommitdiff
path: root/rapid/metadata.py
diff options
context:
space:
mode:
authorJulien Valroff <julien@kirya.net>2011-01-02 07:56:33 +0100
committerJulien Valroff <julien@kirya.net>2011-01-02 07:56:33 +0100
commitd058c9c1092987228355cc748205bb4ad0b49a1a (patch)
tree9629db7442f8b446e3ba5d3da6c46fbfa8952c69 /rapid/metadata.py
parentdf7192b0010e7f454622f1b215dfa6aff64e679b (diff)
Imported Upstream version 0.3.4upstream/0.3.4
Diffstat (limited to 'rapid/metadata.py')
-rwxr-xr-xrapid/metadata.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/rapid/metadata.py b/rapid/metadata.py
index 0f3c48d..1a040f3 100755
--- a/rapid/metadata.py
+++ b/rapid/metadata.py
@@ -280,7 +280,8 @@ class MetaData(baseclass):
v = self['Exif.Image.CameraSerialNumber']
else:
return missing
- return str(v)
+ v = str(v)
+ return v.strip()
except:
return missing