From 955227562285dd86e4356fbfbe9d9250d65436a3 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期一, 16 一月 2023 19:09:22 +0800 Subject: [PATCH] 1 --- ExportMap/cs/ExportUtil.cs | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/ExportMap/cs/ExportUtil.cs b/ExportMap/cs/ExportUtil.cs index 6f096d8..81f594a 100644 --- a/ExportMap/cs/ExportUtil.cs +++ b/ExportMap/cs/ExportUtil.cs @@ -141,6 +141,7 @@ try { string cmdText = string.Format("python {0} -qgz {1} -qpt {2}", py, qgz, qpt); + LogOut.Info("cmd = " + cmdText); Process p = new Process(); p.StartInfo.FileName = "cmd.exe"; @@ -220,10 +221,7 @@ string imgPath = Path.Combine(DownloadFolder, args.imgPath); string templateFile = Path.Combine(SourcesPath, "Template.qpt"); string qptFile = Path.Combine(SourcesPath, args.qpt); - if (File.Exists(qptFile)) - { - File.Delete(qptFile); - } + LogOut.Info("imgPath = " + imgPath + ", tempFile = " + templateFile + ", qptFile = " + qptFile); string xml = File.ReadAllText(templateFile); xml = xml -- Gitblit v1.9.3