mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-26 14:01:30 +00:00
fix: subprocess.check_output
This commit is contained in:
parent
57ec87bf43
commit
ba168fc92b
|
@ -15,7 +15,7 @@ def nix_collect_garbage(job: Job):
|
|||
status_text="Start cleaning.",
|
||||
)
|
||||
|
||||
output = subprocess.check_output("nix-collect-garbage -d")
|
||||
output = subprocess.check_output(["nix-collect-garbage", "-d"])
|
||||
|
||||
pat = re.compile(r"linking saves ([+-]?\d+\.\d+ \w+).+?([+-]?\d+\.\d+ \w+) freed")
|
||||
match = re.search(
|
||||
|
|
Loading…
Reference in a new issue