potential fix
This commit is contained in:
Binary file not shown.
@@ -148,11 +148,9 @@ class Handler:
|
|||||||
self.maxlength = 31900
|
self.maxlength = 31900
|
||||||
self.pos = 1
|
self.pos = 1
|
||||||
|
|
||||||
print("found files, assembling commands")
|
|
||||||
|
|
||||||
# Refactoring of commands that are longer than 32K characters
|
# Refactoring of commands that are longer than 32K characters
|
||||||
|
self.fileout = []
|
||||||
if len(self.files) > self.maxlength:
|
if len(self.files) > self.maxlength:
|
||||||
self.fileout = []
|
|
||||||
while self.files[self.maxlength - self.pos:self.maxlength - self.pos + 1] != " ":
|
while self.files[self.maxlength - self.pos:self.maxlength - self.pos + 1] != " ":
|
||||||
self.pos += 1
|
self.pos += 1
|
||||||
self.file_processing = self.files[:self.maxlength - self.pos]
|
self.file_processing = self.files[:self.maxlength - self.pos]
|
||||||
@@ -192,8 +190,9 @@ class Handler:
|
|||||||
else:
|
else:
|
||||||
self.fileout.append(self.files)
|
self.fileout.append(self.files)
|
||||||
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
os.mkdir(f"{self.tmppath}sc/")
|
os.mkdir(f"{self.tmppath}sc")
|
||||||
except FileExistsError:
|
except FileExistsError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
@@ -219,6 +218,7 @@ class Handler:
|
|||||||
else:
|
else:
|
||||||
print("OS CURRENTLY UNSUPPORTED!")
|
print("OS CURRENTLY UNSUPPORTED!")
|
||||||
return False
|
return False
|
||||||
|
print( self.command_us )
|
||||||
os.system(self.command_us)
|
os.system(self.command_us)
|
||||||
time.sleep(3)
|
time.sleep(3)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user