[postprocessor:ugoira] ensure target directory exists (#2576)

another bug created by 99cb2872 in combination with 'part-directory'
This commit is contained in:
Mike Fährmann
2022-05-11 15:08:17 +02:00
parent d1bb7fae2d
commit 6ca998fc2b

View File

@@ -119,6 +119,9 @@ class UgoiraPP(PostProcessor):
if self.args:
args += self.args
# ensure target directory exists
os.makedirs(pathfmt.realdirectory, exist_ok=True)
# invoke ffmpeg
try:
if self.twopass: