mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-19 16:49:14 +00:00
fix: subprocess.check_output
This commit is contained in:
parent
13d3261d36
commit
6b93df9630
|
@ -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