Only create directories if they do not exist
This commit is contained in:
parent
e82cb1efea
commit
63c237db41
|
@ -33,9 +33,10 @@ class RecordingDownloader extends Downloader {
|
|||
file.delete();
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
Files.createDirectories(path);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Response execute(@Nonnull Request request) throws IOException, ReCaptchaException {
|
||||
|
|
Loading…
Reference in New Issue