equal
deleted
inserted
replaced
174 |
174 |
175 # default ExifHandler to use |
175 # default ExifHandler to use |
176 EXIF_HANDLER = utils.first(EXIF_HANDLERS) |
176 EXIF_HANDLER = utils.first(EXIF_HANDLERS) |
177 |
177 |
178 # ExifHandler implementations by name |
178 # ExifHandler implementations by name |
179 EXIF_HANDLERS_BY_NAME = dict((h.NAME, h) for h in EXIF_HANDLERS) |
179 EXIF_HANDLERS_BY_NAME = dict((h.NAME, h) for h in EXIF_HANDLERS if h) |
180 |
180 |
181 def load (config, file) : |
181 def load (config, file) : |
182 """ |
182 """ |
183 Load Exif data using the configured Exif handler, and return the instance. |
183 Load Exif data using the configured Exif handler, and return the instance. |
184 |
184 |