bugfix
This commit is contained in:
parent
d5f696dce4
commit
bda5b11814
|
@ -25,9 +25,9 @@ class FileCopier {
|
|||
private void createDestinationFolderIfApply(Path destinationFile) throws IOException {
|
||||
var destinationFolder = destinationFile.getParent();
|
||||
if (isTemporaryDestination(destinationFolder) && !Files.exists(destinationFolder)) {
|
||||
System.out.printf("destination folder %s will be created%n", destinationFolder);
|
||||
System.out.printf("** destination folder %s will be created%n", destinationFolder);
|
||||
if (!ConfigLoader.isTestMode())
|
||||
Files.createDirectories(destinationFile);
|
||||
Files.createDirectories(destinationFolder);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -98,6 +98,7 @@ public class QueueFixer {
|
|||
Set<Integer> seriesToRefresh = recordsToFix.stream()
|
||||
.map(Record::getSeriesId)
|
||||
.collect(Collectors.toSet());
|
||||
System.out.printf("** going to refresh the following series %s%n", seriesToRefresh);
|
||||
sonarrDeferredRefresher.refreshSeries(seriesToRefresh);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue