修复查动画无法保存图片的问题
This commit is contained in:
@@ -83,21 +83,9 @@ public class Bangumi extends Model {
|
||||
return;
|
||||
}
|
||||
for (String img : imgs) {
|
||||
HttpTools.download(img,key+".png", new DownloadInterface() {
|
||||
@Override
|
||||
public void onDownload(File file) {
|
||||
super.onDownload(file);
|
||||
files.add(file);
|
||||
send(imgs.size(),qq, text);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onError(Exception e) {
|
||||
super.onError(e);
|
||||
index++;
|
||||
send(imgs.size(),qq, text);
|
||||
}
|
||||
});
|
||||
File file = HttpTools.syncDownload(img.replace("http://","https://"), key + ".jpg");
|
||||
files.add(file);
|
||||
send(imgs.size(),qq, text);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user