X-Git-Url: https://svn.cri.ensmp.fr/git/Photo.git/blobdiff_plain/2a45d522de56e0a031c6ee829eb1ed38764d7819..2e218c7ef43c2e1a880999a98a220e37268a62bd:/metadata.py diff --git a/metadata.py b/metadata.py index 156df58..310392b 100755 --- a/metadata.py +++ b/metadata.py @@ -71,7 +71,7 @@ class Metadata : """returns xmp metadata packet with xmpdump call """ if self.size : - blob_file_path = self.bdata._current_filename() + blob_file_path = self.bdata._p_blob_uncommitted or self.bdata._p_blob_committed dumpcmd = '%s %s' % (XMPDUMP, blob_file_path) p = Popen(dumpcmd, stdout=PIPE, stderr=PIPE, stdin=PIPE, shell=True) xmp, err = p.communicate()