Commit 62fa836f authored by Quxl's avatar Quxl

c

parent 297c76a6
......@@ -426,10 +426,11 @@ public class FileUtil {
OutputStreamWriter osw = null;
Writer writer = null;
try {
if (!file.getParentFile().exists()) {
file.getParentFile().mkdirs();
File absFile = file.getAbsoluteFile();
if (!absFile.getParentFile().exists()) {
absFile.getParentFile().mkdirs();
}
fos = new FileOutputStream(file);
fos = new FileOutputStream(absFile);
osw = new OutputStreamWriter(fos, "UTF-8");
writer = new BufferedWriter(osw);
for (String string : strings) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment