                  self._faces_saver = ImagesSaver(self._loader.location, as_bytes=True)
              for extractor_output in self._extractor.detected_faces():
                  self._extractor_input_thread.check_and_raise_error()
                  updater(extractor_output)
              if self._counts["update"] != 0:
                  self._alignments.backup()
                  self._alignments.save()
              if self._input_is_faces:
                  assert self._faces_saver is not None
                  self._faces_saver.close()
 
</s> remove                 centering: "CenteringType" = ("legacy" if self._alignments.version == 1.0
 </s> add                 centering: "CenteringType" = ("legacy" if self._alignments is not None and
                                              self._alignments.version == 1.0 </s> remove #: /home/matt/faceswap/tools/mask/cli.py:152
 </s> add #: tools/mask/cli.py:154 </s> remove "POT-Creation-Date: 2022-08-05 14:00+0100\n"
"PO-Revision-Date: 2022-11-27 01:28+0900\n"
 </s> add "POT-Creation-Date: 2023-02-20 14:55+0000\n"
"PO-Revision-Date: 2023-02-20 15:01+0000\n"
            if self._counts["update"] != 0 and self._alignments is not None:
                  self._faces_saver = ImagesSaver(self._loader.location, as_bytes=True)
              for extractor_output in self._extractor.detected_faces():
                  self._extractor_input_thread.check_and_raise_error()
                  updater(extractor_output)
            if self._counts["update"] != 0 and self._alignments is not None:
                  self._alignments.backup()
                  self._alignments.save()
              if self._input_is_faces:
                  assert self._faces_saver is not None
                  self._faces_saver.close()
keep keep keep keep replace keep keep keep keep keep
 Mask tool update:
  - Allow creation of masks on face sets without an alignments file
  - Auto-detect alignments file location when not provided 
tools/mask/mask.py