diff --git a/main.py b/main.py index 218edbd..dcb050c 100755 --- a/main.py +++ b/main.py @@ -159,6 +159,7 @@ class Passthrough(Operations): a = requests.delete("https://api.github.com/repos/DomiOwO/" + repo + "/releases/assets/" + str(assets[path.split("/")[-2]][path.split("/")[-1]]["id"]), headers = headers) print(a.content) + del(assets[path.split('/')[-2]][path.split('/')[-1]]) return 0 def symlink(self, name, target): @@ -236,7 +237,7 @@ class Passthrough(Operations): data = f["buffer"], headers = _h) print(a.content) - + return 0 #del(files[fileByFd(fh)]) def fsync(self, path, fdatasync, fh):