Skip to content
Snippets Groups Projects
Commit 9e11b79b authored by vkovtun's avatar vkovtun
Browse files

SSDM-8405 Added cleanup of temporary files.

parent 6a6f911c
No related branches found
No related tags found
No related merge requests found
...@@ -81,7 +81,7 @@ def export(entities, tr, params): ...@@ -81,7 +81,7 @@ def export(entities, tr, params):
FileUtils.forceDelete(File(contentDirPath)) FileUtils.forceDelete(File(contentDirPath))
resultUrl = sendToZenodo(tr=tr, tempZipFilePath=contentZipFilePath) resultUrl = sendToZenodo(tr=tr, tempZipFilePath=contentZipFilePath)
# cleanUp(exportDirPath, exportZipFilePath) FileUtils.forceDelete(File(exportDirPath))
return resultUrl return resultUrl
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment