Changed name of repo file
parent
63af040a38
commit
c3bbda0e85
2
app.py
2
app.py
|
@ -57,7 +57,7 @@ def upload_file():
|
||||||
file.save(path)
|
file.save(path)
|
||||||
|
|
||||||
# Run repo-add on the file
|
# 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:
|
if res.returncode != 0:
|
||||||
path.unlink()
|
path.unlink()
|
||||||
|
|
Reference in New Issue