Skip to content
Snippets Groups Projects
Commit bd9850c0 authored by Lange, Dr. Herbert's avatar Lange, Dr. Herbert
Browse files

delete input after check

parent 7fcef7ae
No related branches found
No related tags found
No related merge requests found
......@@ -157,6 +157,12 @@ class CorpusThread extends Thread {
e.printStackTrace();
}
logger.info("Done with report");
// cleanup corpus data
try {
FileUtils.deleteDirectory(new File(this.inFile));
} catch (IOException e) {
logger.info("Exception when deleting input directory");
}
if (!callbackUrl.equals("")) {
Client c = ClientBuilder.newClient();
logger.info("Contacting callback");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment