MonitorのResultがNONEだった時のログを出力しないように

This commit is contained in:
suti7yk5032 2024-08-16 13:15:10 +09:00
parent 7a1aa6a7db
commit 60d4fc9c81

View file

@ -736,7 +736,11 @@ class Monitor():
else:
result = {"result": "NONE"}
print(result["result"])
if result["result"] == "NONE":
pass
else:
print(current_datetime)
print(result["result"])
time.sleep(self.search_frequency)