Update baiduyun_task.py
parent
74b574659b
commit
9fdc897bb0
|
|
@ -124,7 +124,7 @@ class BaiduyunTask:
|
|||
"--saveto",
|
||||
parse_and_replace_time(recv_dir),
|
||||
"-p",
|
||||
str(os.cpu_count() or 4),
|
||||
"4",
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.PIPE,
|
||||
)
|
||||
|
|
@ -167,4 +167,4 @@ def parse_and_replace_time(s):
|
|||
for match in matches:
|
||||
formatted_time = datetime.datetime.now().strftime(match)
|
||||
s = s.replace(f'<#{match}#>', formatted_time)
|
||||
return s
|
||||
return s
|
||||
|
|
|
|||
Loading…
Reference in New Issue