使用通信模块前的提交

修改读取日志
This commit is contained in:
zxd 2018-08-11 12:13:54 +08:00
parent c37f276314
commit 5e5817b8a4

View File

@ -46,7 +46,9 @@ namespace Plane.Logging
public override string ReadLog()
{
string text = File.ReadAllText(LogFilePath);
string text = "";
if (File.Exists(LogFilePath))
text = File.ReadAllText(LogFilePath);
return text;
}