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