diff --git a/bin/__pycache__/handler.cpython-310.pyc b/bin/__pycache__/handler.cpython-310.pyc index b79bf67..faede36 100644 Binary files a/bin/__pycache__/handler.cpython-310.pyc and b/bin/__pycache__/handler.cpython-310.pyc differ diff --git a/bin/handler.py b/bin/handler.py index 5bae9b4..2f12261 100644 --- a/bin/handler.py +++ b/bin/handler.py @@ -147,12 +147,10 @@ class Handler: else: self.maxlength = 31900 self.pos = 1 - - print("found files, assembling commands") # Refactoring of commands that are longer than 32K characters + self.fileout = [] if len(self.files) > self.maxlength: - self.fileout = [] while self.files[self.maxlength - self.pos:self.maxlength - self.pos + 1] != " ": self.pos += 1 self.file_processing = self.files[:self.maxlength - self.pos] @@ -192,8 +190,9 @@ class Handler: else: self.fileout.append(self.files) + try: - os.mkdir(f"{self.tmppath}sc/") + os.mkdir(f"{self.tmppath}sc") except FileExistsError: pass @@ -219,6 +218,7 @@ class Handler: else: print("OS CURRENTLY UNSUPPORTED!") return False + print( self.command_us ) os.system(self.command_us) time.sleep(3)