From 0324c22d9badcc533f5d39e74092b0a36c8492c8 Mon Sep 17 00:00:00 2001 From: jlw4049 Date: Mon, 17 Jun 2024 14:19:14 -0400 Subject: [PATCH] feat: v1.2.2 fix: unicode characters could cause improper paths during folder creation --- frame_forge.py | 2 +- frame_forge/__init__.py | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/frame_forge.py b/frame_forge.py index 9dfd498..5f8ef2a 100644 --- a/frame_forge.py +++ b/frame_forge.py @@ -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__": diff --git a/frame_forge/__init__.py b/frame_forge/__init__.py index 73d4666..e8cdc53 100644 --- a/frame_forge/__init__.py +++ b/frame_forge/__init__.py @@ -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)