MonitorのResultがNONEだった時のログを出力しないように
This commit is contained in:
parent
7a1aa6a7db
commit
60d4fc9c81
1 changed files with 5 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue