From 52860c8a62dfa4b827ba0204c26cda0d2070a6cd Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Sat, 19 Mar 2022 23:40:42 +0100 Subject: [PATCH] Ricreato distruttore. --- build.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.py b/build.py index 1382c92..2d0c2fe 100644 --- a/build.py +++ b/build.py @@ -110,6 +110,8 @@ class Build(object): # Copying built image to final directory subprocess.run("find . -iname '*.AppImage' -exec cp {} %s \;" % outdir, shell = True) os.chdir('/tmp') + + def __del__(self): del self.__builddir__ @@ -127,5 +129,4 @@ if __name__ == '__main__': b = Build(sys.argv[1], sys.argv[2], sys.argv[3]) b.download() b.build(sys.argv[4]) - del b