degal/exif.py
changeset 130 94888270dae0
parent 122 292aaba6d6ec
equal deleted inserted replaced
129:a4698fa2066c 130:94888270dae0
   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