directory bug

This commit is contained in:
lugo
2022-11-28 08:46:39 +01:00
parent 6f977ebb7e
commit fbf90d7f5f

View File

@@ -68,6 +68,7 @@ class MovieSaver():
silent_ffmpeg: bool silent_ffmpeg: bool
Surpress the output from ffmpeg. Surpress the output from ffmpeg.
""" """
if len(os.path.split(fp_out)[0]) > 0:
assert os.path.isdir(os.path.split(fp_out)[0]), "Directory does not exist!" assert os.path.isdir(os.path.split(fp_out)[0]), "Directory does not exist!"
self.fp_out = fp_out self.fp_out = fp_out