Skip to content

Commit

Permalink
add false parameter in PrintWriter - no logic change
Browse files Browse the repository at this point in the history
  • Loading branch information
awidesky committed May 31, 2021
1 parent 3bfba9f commit fd034f3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/com/awidesky/YoutubeClipboardAutoDownloader/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,8 @@ private static void readProperties() {
n = n1.equals("null") ? n : n1;
c = c1.equals("null") ? c : c1;



} catch (FileNotFoundException e1) {

GUI.warning("config.txt not exists!","%e%\nDon't worry! I'll make one later...", e1);
Expand Down Expand Up @@ -317,7 +319,7 @@ public static void writeProperties() {

/** Write <code>properties</code> */
try (BufferedWriter bw = new BufferedWriter(new FileWriter(new File(
YoutubeAudioDownloader.getProjectpath() + File.separator + "config.txt")))) {
YoutubeAudioDownloader.getProjectpath() + File.separator + "config.txt"), false))) {

File cfg = new File(
YoutubeAudioDownloader.getProjectpath() + File.separator + "config.txt");
Expand Down

0 comments on commit fd034f3

Please sign in to comment.