|
|
|
@ -57,7 +57,7 @@ def upload_file():
|
|
|
|
|
file.save(path)
|
|
|
|
|
|
|
|
|
|
# Run repo-add on the file
|
|
|
|
|
res = subprocess.run(["repo-add", path.parent.parent / "repo.db.tar.gz", path])
|
|
|
|
|
res = subprocess.run(["repo-add", path.parent.parent / "pieter.db.tar.gz", path])
|
|
|
|
|
|
|
|
|
|
if res.returncode != 0:
|
|
|
|
|
path.unlink()
|
|
|
|
|