mirror of
https://github.com/anasty17/mirror-leech-telegram-bot.git
synced 2025-01-07 03:26:46 +08:00
Change compression ratio
Signed-off-by: anasty17 <e.anastayyar@gmail.com>
This commit is contained in:
parent
628e96df3f
commit
a8101c1386
@ -669,7 +669,7 @@ class TaskConfig:
|
||||
if (
|
||||
not self.seed
|
||||
and self.subproc is not None
|
||||
and self.subproc.returncode == 0
|
||||
and code == 0
|
||||
):
|
||||
for file_ in files:
|
||||
if is_archive_split(file_) or is_archive(file_):
|
||||
@ -761,7 +761,7 @@ class TaskConfig:
|
||||
"7z",
|
||||
f"-v{split_size}b",
|
||||
"a",
|
||||
"-mx=9",
|
||||
"-mx=0",
|
||||
f"-p{pswd}",
|
||||
up_path,
|
||||
dl_path,
|
||||
|
@ -488,7 +488,6 @@ async def split_file(
|
||||
async with listener.subprocess_lock:
|
||||
if listener.is_cancelled:
|
||||
return False
|
||||
code = listener.subproc.returncode
|
||||
if code == -9:
|
||||
listener.is_cancelled = True
|
||||
return False
|
||||
|
Loading…
Reference in New Issue
Block a user