mirror of
https://github.com/lifegpc/pixiv_downloader.git
synced 2026-07-08 01:32:41 +08:00
Fix unit test failed
This commit is contained in:
@@ -34,6 +34,7 @@ impl Clone for FanboxData {
|
||||
Self {
|
||||
id: self.id.clone(),
|
||||
raw: self.raw.clone(),
|
||||
#[cfg(feature = "exif")]
|
||||
exif_data: None,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -492,6 +492,7 @@ impl Main {
|
||||
.try_err(gettext("Failed to get images from the image post."))?;
|
||||
let mut np = 0;
|
||||
let mut datas = data.clone();
|
||||
#[cfg(feature = "exif")]
|
||||
datas.exif_data.replace(Box::new(Arc::clone(&img)));
|
||||
let datas = Arc::new(datas);
|
||||
for img in images.iter() {
|
||||
|
||||
Reference in New Issue
Block a user