w2tgit add .!
This commit is contained in:
@@ -147,7 +147,7 @@ def main():
|
||||
ws.cell(row=i, column=7).value = None
|
||||
except Exception as Err:
|
||||
clibs.insert_logdb("ERROR", "iso", f"main: 无法打开文件 {filename}")
|
||||
w2t(f"发生错误:{Err}", "red", "FileOpenError")
|
||||
w2t(f"发生错误:{Err}\n", "red", "FileOpenError")
|
||||
|
||||
p_files = []
|
||||
for file in files:
|
||||
@@ -172,7 +172,7 @@ def main():
|
||||
wb.close()
|
||||
|
||||
if len(p_files) == 0:
|
||||
w2t(f"目录 {path} 下没有需要处理的文件,需要确认......", "red")
|
||||
w2t(f"目录 {path} 下没有需要处理的文件,需要确认......\n", "red")
|
||||
else:
|
||||
os.remove(tmpfile)
|
||||
w2t("------------------------------------------\n")
|
||||
|
Reference in New Issue
Block a user