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

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

View file

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