Skip to content

Commit

Permalink
add flush when writing to config.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
awidesky committed Jul 15, 2021
1 parent cff3102 commit 5970746
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/com/awidesky/YoutubeClipboardAutoDownloader/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,8 @@ public static void writeProperties() {
bw.write("Playlist=" + Config.getPlaylistOption().toComboBox() + "\n");
bw.write("FileNameFormat=" + Config.getFileNameFormat() + "\n");
bw.write("ClipboardListenOption=" + Config.getClipboardListenOption() + "\n");
bw.newLine();
bw.flush();

Main.logProperties("\n\nFinal");

Expand Down

0 comments on commit 5970746

Please sign in to comment.