Skip to content
Snippets Groups Projects
Commit c7e11b8d authored by Carl Philipp Klemm's avatar Carl Philipp Klemm
Browse files

scripts: createdataset: close tar file on completion to avoid createing tar...

scripts: createdataset: close tar file on completion to avoid createing tar files with missing null record
parent 63df73a1
No related branches found
No related tags found
No related merge requests found
......@@ -53,4 +53,5 @@ if __name__ == "__main__":
tar.add(path, arcname=os.path.split(path)[-1])
os.remove(path)
os.rmdir(args.out)
tar.close()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment