                          leave=False):
                      result = future.result()
                      if result:
                          detected_face = DetectedFace()
                          detected_face.from_png_meta(future.result()["alignments"])
                          png_meta[filename] = detected_face
  
      def _get_alignments_path(self, side):
          """ Obtain the path to an alignments file for the given training side.
 
</s> remove                         png_meta[images[future]] = detected_face
 </s> add                         png_meta[filename] = detected_face </s> remove     def _update_legacy_facesets(self):
 </s> add     def _update_legacy_facesets(self, image_list): </s> remove         self._update_legacy_facesets()
 </s> add         self._update_legacy_facesets(image_list)
                        filename = images[future]
                        if os.path.splitext(filename)[-1].lower() != ".png":
                            # Update the image list to point at newly created png
                            del png_meta[filename]
                            image_list[side].remove(filename)

                            filename = os.path.splitext(filename)[0] + ".png"
                            image_list[side].append(filename)

                          leave=False):
                      result = future.result()
                      if result:
                        filename = images[future]
                        if os.path.splitext(filename)[-1].lower() != ".png":
                            # Update the image list to point at newly created png
                            del png_meta[filename]
                            image_list[side].remove(filename)

                            filename = os.path.splitext(filename)[0] + ".png"
                            image_list[side].append(filename)

                          detected_face = DetectedFace()
                          detected_face.from_png_meta(future.result()["alignments"])
                          png_meta[filename] = detected_face
  
      def _get_alignments_path(self, side):
          """ Obtain the path to an alignments file for the given training side.
keep keep add keep keep keep keep keep keep
 bugfix - plugins.trainer._base - Update image list to point to renamed pngs 
plugins/train/trainer/_base.py