diff --git a/bin/handler.py b/bin/handler.py index 2db9420..d88abff 100644 --- a/bin/handler.py +++ b/bin/handler.py @@ -92,7 +92,10 @@ class Handler: self.framerate = float(self.infos[:len(self.infos) - 2]) # Splitting video into frames - os.remove(self.tmppath) + try: + os.remove(self.tmppath) + except FileNotFoundError: + pass try: os.mkdir(self.tmppath) except FileExistsError: