Проверку директорий осуществляет FileDownloader
This commit is contained in:
@@ -27,9 +27,6 @@ public class SeasonvarScanner implements ScannerCinema {
|
||||
this.fileDownloader = fileDownloader;
|
||||
this.browser = browser;
|
||||
this.saveTo = saveTo;
|
||||
if (!this.saveTo.mkdirs() && !this.saveTo.exists()) {
|
||||
throw new IllegalStateException(String.format("dir not found: '%s'", this.saveTo.getAbsolutePath()));
|
||||
}
|
||||
this.repository = repository;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user