Skip to content

Commit

Permalink
This commit resolves issue marytts-it#25
Browse files Browse the repository at this point in the history
  • Loading branch information
gsommavilla authored and alize committed Mar 4, 2013
1 parent fdc7c90 commit ee52a2e
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1174,7 +1174,7 @@ private void jMenuItem_ImportTextActionPerformed(java.awt.event.ActionEvent evt)
}
File textFolder = getPromptFolderPath();

// if file ends with .txt_tr then it has also transcriptions in it
// if filename ends with ".txt_tr" then it has also transcriptions in it
String selectedFile_ext = FilenameUtils.getExtension(file.getName());
Boolean inputHasAlsoTranscription=false;
File transcriptionFolder = new File("");
Expand All @@ -1186,7 +1186,7 @@ private void jMenuItem_ImportTextActionPerformed(java.awt.event.ActionEvent evt)
// even
} else {
// odd
System.err.println(".txt_tr has an odd number of lines, so it's corrupted, exiting.");
System.err.println(".txt_tr file has an odd number of lines, so it's corrupted, exiting.");
System.exit(0);
}
inputHasAlsoTranscription=true;
Expand All @@ -1196,8 +1196,7 @@ private void jMenuItem_ImportTextActionPerformed(java.awt.event.ActionEvent evt)
System.out.println("transcription folder already exists");
}
else {
Boolean hasDirBeenCreated = transcriptionFolder.mkdirs();
if(hasDirBeenCreated) {
if(transcriptionFolder.mkdirs()) {
System.out.println("transcription folder created");
}
else {
Expand Down

0 comments on commit ee52a2e

Please sign in to comment.