ehhhhhhhh

This commit is contained in:
Szum123321 2022-11-29 22:35:06 +01:00
parent 19cfb3cb27
commit c2048c5039

View File

@ -133,6 +133,8 @@ public class MakeBackupRunnable implements Callable<Void> {
}
private String getFileName() {
return Utilities.getDateTimeFormatter().format(context.startDate()) + (context.comment() != null ? "#" + context.comment().replaceAll("[\\\\/:*?\"<>|#]", "") : "") + config.get().format.getCompleteString();
return Utilities.getDateTimeFormatter().format(context.startDate()) +
(context.comment() != null ? "#" + context.comment().replaceAll("[\\\\/:*?\"<>|#]", "") : "") +
config.get().format.getCompleteString();
}
}