feat: v1.2.2
fix: unicode characters could cause improper paths during folder creation
This commit is contained in:
parent
50976c6f19
commit
0324c22d9b
@ -7,7 +7,7 @@ from frame_forge.cli_utils import frame_list
|
|||||||
|
|
||||||
|
|
||||||
program_name = "FrameForge"
|
program_name = "FrameForge"
|
||||||
__version__ = "1.2.1"
|
__version__ = "1.2.2"
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
@ -3,7 +3,6 @@ import shutil
|
|||||||
from random import choice
|
from random import choice
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from numpy import linspace
|
from numpy import linspace
|
||||||
from unidecode import unidecode
|
|
||||||
|
|
||||||
import awsmfunc
|
import awsmfunc
|
||||||
import vapoursynth as vs
|
import vapoursynth as vs
|
||||||
@ -380,9 +379,6 @@ class GenerateImages:
|
|||||||
Path(self.encode_file).parent / f"{Path(self.encode_file).stem}_images"
|
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!
|
# check if temp image dir exists, if so delete it!
|
||||||
if image_output_dir.exists():
|
if image_output_dir.exists():
|
||||||
shutil.rmtree(image_output_dir, ignore_errors=True)
|
shutil.rmtree(image_output_dir, ignore_errors=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user