Fixed NPE in DownloadRequester

This commit is contained in:
ByteHamster 2019-11-26 16:07:53 +01:00
parent 1dd5c19eea
commit 9d6225b022
1 changed files with 3 additions and 1 deletions

View File

@ -202,7 +202,9 @@ public class DownloadRequester implements DownloadStateProvider {
DownloadRequest request = createRequest(feed, null, new File(getFeedfilePath(), getFeedfileName(feed)),
true, username, password, lastModified, true, args);
download(context, request);
if (request != null) {
download(context, request);
}
}
}