|
|
@@ -918,7 +918,7 @@ return aaa";
|
|
|
if (isCheck&& !path.Contains(metastr))
|
|
|
{
|
|
|
checkList.Add(path+"\r\n");
|
|
|
- if (copyqsFile)
|
|
|
+ if (copyqsFile&& File.Exists(path))
|
|
|
{
|
|
|
File.Copy(path, fileOutputPath, true);
|
|
|
}
|
|
|
@@ -1100,7 +1100,7 @@ return aaa";
|
|
|
string basepath = copycfg.RawGet<string, string>("basepath");
|
|
|
string path = copycfg.RawGet<string, string>("path");
|
|
|
string fileName = copycfg.RawGet<string, string>("fileName");
|
|
|
- if (fileName.Contains(".png"))
|
|
|
+ if (fileName.Contains(".png")&& File.Exists(fileroot + fileName))
|
|
|
{
|
|
|
string opp = output + basepath + path + fileName;
|
|
|
File.Copy(fileroot + fileName, opp, true);
|