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();
|
file.delete();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
} else {
|
||||||
Files.createDirectories(path);
|
Files.createDirectories(path);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Response execute(@Nonnull Request request) throws IOException, ReCaptchaException {
|
public Response execute(@Nonnull Request request) throws IOException, ReCaptchaException {
|
||||||
|
|
Loading…
Reference in New Issue