Fixed HTML export malfunctioning (Scripts were not copied) #527

This commit is contained in:
Rsl1122 2018-02-19 12:37:56 +02:00
parent d62f723cd6
commit 8a48a590ba

View File

@ -187,7 +187,7 @@ public class HtmlExport extends SpecificExport {
to.getParentFile().mkdirs(); to.getParentFile().mkdirs();
if (to.exists()) { if (to.exists()) {
Files.delete(to.toPath()); Files.delete(to.toPath());
if (to.createNewFile()) { if (!to.createNewFile()) {
return; return;
} }
} }