diff options
author | Julien Valroff <julien@kirya.net> | 2011-10-02 07:08:31 +0200 |
---|---|---|
committer | Julien Valroff <julien@kirya.net> | 2011-10-02 07:08:31 +0200 |
commit | da2cce92a7eed706d04d6cbe778fd1bf32f18eeb (patch) | |
tree | 046d586f82a8fc8f960c32eb3ff4e0814efd21ad /rapid/subfolderfile.py | |
parent | 4cfe0196b5ac9147560b8d3730aec9a1c615c67e (diff) |
Imported Upstream version 0.4.2upstream/0.4.2
Diffstat (limited to 'rapid/subfolderfile.py')
-rw-r--r-- | rapid/subfolderfile.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rapid/subfolderfile.py b/rapid/subfolderfile.py index 4b6cca1..a80bc84 100644 --- a/rapid/subfolderfile.py +++ b/rapid/subfolderfile.py @@ -317,9 +317,9 @@ class SubfolderFile(multiprocessing.Process): a = rpd_file.metadata.aperture() if a == '0.0': fl = rpd_file.metadata["Exif.Photo.FocalLength"].value - logger.info("Samyang lens - adjusting focal length and aperture... ") + logger.info("Adjusting focal length and aperture for %s", rpd_file.full_file_name) #~ try: - rpd_file.metadata["Exif.Photo.FocalLength"] = fractions.Fraction(14,1) + rpd_file.metadata["Exif.Photo.FocalLength"] = fractions.Fraction(self.focal_length,1) rpd_file.metadata["Exif.Photo.FNumber"] = fractions.Fraction(8,1) #~ rpd_file.metadata.write(preserve_timestamps=True) #~ logger.info("...wrote new value") |