Update handler.py

potential fix for path in windows
This commit is contained in:
Janis Hutz
2023-03-16 09:36:18 +00:00
committed by GitHub
parent 701ab6f7d1
commit 3937571114

View File

@@ -118,7 +118,7 @@ class Handler:
print("linux")
self.command = f"ffmpeg -i {str(self.filepath)} {self.tmppath}ex%08d.png"
elif self.os_type == "win32":
self.command = f"ffmpeg -i {str(self.filepath)} ${self.tmppath}ex%08d.png"
self.command = f"ffmpeg -i {str(self.filepath)} \"{self.tmppath}ex%08d.png\""
else:
print("OS CURRENTLY UNSUPPORTED!")
return False