Commit 24b420c2 authored by ibuler's avatar ibuler

[Update] 修改小bug

parent 28292df8
......@@ -85,7 +85,7 @@ class Coco:
@ignore_error
def heartbeat(self):
_sessions = [s.to_json() for s in Session.sessions.values()]
_sessions = [s.to_json() for s in Session.sessions.values() if s]
tasks = app_service.terminal_heartbeat(_sessions)
if tasks:
self.handle_task(tasks)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment