feat: v1.2.2

fix: unicode characters could cause improper paths during folder creation
This commit is contained in:
jlw4049 2024-06-17 14:19:14 -04:00
parent 50976c6f19
commit 0324c22d9b
2 changed files with 1 additions and 5 deletions

@ -7,7 +7,7 @@ from frame_forge.cli_utils import frame_list
program_name = "FrameForge"
__version__ = "1.2.1"
__version__ = "1.2.2"
if __name__ == "__main__":

@ -3,7 +3,6 @@ import shutil
from random import choice
from pathlib import Path
from numpy import linspace
from unidecode import unidecode
import awsmfunc
import vapoursynth as vs
@ -380,9 +379,6 @@ class GenerateImages:
Path(self.encode_file).parent / f"{Path(self.encode_file).stem}_images"
)
# remove any accent characters from path
image_output_dir = Path(unidecode(str(image_output_dir)))
# check if temp image dir exists, if so delete it!
if image_output_dir.exists():
shutil.rmtree(image_output_dir, ignore_errors=True)