From 229a4d6253b8d8a3d481eff9e1205e70a99831b5 Mon Sep 17 00:00:00 2001 From: janis Date: Sun, 4 Sep 2022 19:44:46 +0200 Subject: [PATCH] handler.py is now technically working, if very short video of less than about 1K frames. Working on fix for longer vids --- bin/handler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/handler.py b/bin/handler.py index 63b1c55..fa34367 100644 --- a/bin/handler.py +++ b/bin/handler.py @@ -103,16 +103,16 @@ class Handler: # Locate Images and assemble FSR-Command self.files = "" self.filelist = os.listdir(self.tmppath) + self.filelist.pop(0) self.number = 0 for self.file in self.filelist: self.number += 1 if self.file == "": pass else: - self.files += f"{self.tmppath}{self.file} {self.tmppath}upscaled/USImage{self.number}.jpg" + self.files += f"{self.tmppath}{self.file} {self.tmppath}upscaled/USImage{self.number}.jpg " self.maxlength = 32000 - print(self.files) if len(self.files) > self.maxlength: self.fileout = [] self.fileout.append(self.files[:self.maxlength])