1

Download only if file absent

This commit is contained in:
eleksir
2019-09-23 23:09:10 +03:00
parent 09efebcb35
commit 7af26a45c1

View File

@@ -113,7 +113,10 @@ sub __image_dl_subthread {
$savepath = $c->{image_dl}->{dir} . "/" . $fname; $savepath = $c->{image_dl}->{dir} . "/" . $fname;
} }
unless (-f $savepath) {
__dlfunc($str, $savepath); __dlfunc($str, $savepath);
}
undef $savepath; undef $savepath;
undef $fname; undef $fname;
} }