Ricreato distruttore.

This commit is contained in:
Emiliano Vavassori 2022-03-19 23:40:42 +01:00
parent 565c2d9dce
commit 52860c8a62
1 changed files with 2 additions and 1 deletions

View File

@ -110,6 +110,8 @@ class Build(object):
# Copying built image to final directory # Copying built image to final directory
subprocess.run("find . -iname '*.AppImage' -exec cp {} %s \;" % outdir, shell = True) subprocess.run("find . -iname '*.AppImage' -exec cp {} %s \;" % outdir, shell = True)
os.chdir('/tmp') os.chdir('/tmp')
def __del__(self):
del self.__builddir__ del self.__builddir__
@ -127,5 +129,4 @@ if __name__ == '__main__':
b = Build(sys.argv[1], sys.argv[2], sys.argv[3]) b = Build(sys.argv[1], sys.argv[2], sys.argv[3])
b.download() b.download()
b.build(sys.argv[4]) b.build(sys.argv[4])
del b del b