          -------
          dict:
              The default file extension for each file type
          """
          defaults = {key: val[0][1].replace("*", "")
                      for key, val in self._filetypes.items()}
          defaults["default"] = None
          defaults["video"] = ".mp4"
          defaults["image"] = ".png"
          logger.debug(defaults)
 
</s> remove         # Update centering if it has been changed by legacy facesets in TrainingAlignments
 </s> add         # Update centering if it has been changed by legacy face sets in TrainingAlignments </s> remove             if self._defaults.get(filetype, None):
 </s> add             if self._defaults.get(filetype): </s> remove         Used for updating legacy facesets to contain the meta information within the image header
 </s> add         Used for updating legacy face sets to contain the meta information within the image header </s> remove             ``True`` if images were succesfully loaded to cache otherwise ``False``
 </s> add             ``True`` if images were successfully loaded to cache otherwise ``False``
        defaults = {key: next(ext for ext in val[0][1].split(" ")).replace("*", "")
          -------
          dict:
              The default file extension for each file type
          """
        defaults = {key: next(ext for ext in val[0][1].split(" ")).replace("*", "")
                      for key, val in self._filetypes.items()}
          defaults["default"] = None
          defaults["video"] = ".mp4"
          defaults["image"] = ".png"
          logger.debug(defaults)
keep keep keep keep replace keep keep keep keep keep
 Bugfixes:
  - plugins.train.trainer._base - Don't output error message for sides which have valid masks
  - lib.gui.menu - Fix project file saving extension on Linux 
lib/gui/utils.py