From 7abee24ecead4fc99e6b8e725102370ab27d6252 Mon Sep 17 00:00:00 2001 From: Antoine Viallon Date: Mon, 22 Feb 2021 18:00:46 +0100 Subject: [PATCH] Use /var/tmp on UNIX --- video_to_slomo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video_to_slomo.py b/video_to_slomo.py index d1a6f9e..caf01e4 100755 --- a/video_to_slomo.py +++ b/video_to_slomo.py @@ -109,7 +109,7 @@ def main(): extractionDir = "tmpSuperSloMo" if not IS_WINDOWS: # Assuming UNIX-like system where "." indicates hidden directories - extractionDir = "." + extractionDir + extractionDir = os.path.join("/var/tmp", extractionDir) if os.path.isdir(extractionDir): rmtree(extractionDir) os.mkdir(extractionDir)