[enh] UI except None, not empty string

This commit is contained in:
Laurent Peuch 2019-01-22 03:24:38 +01:00
parent 173a1c33d4
commit 23a12d61c0

14
run.py
View file

@ -540,13 +540,13 @@ async def ws_apps(request, websocket):
"app_list": x.app_list, "app_list": x.app_list,
"state": x.state, "state": x.state,
"random_job_day": x.random_job_day, "random_job_day": x.random_job_day,
"job_id": "", "job_id": None,
"job_name": "", "job_name": None,
"job_state": "", "job_state": None,
"log": "", "log": None,
"created_time": "", "created_time": None,
"started_time": "", "started_time": None,
"end_time": "", "end_time": None,
} for x in Repo.select() } for x in Repo.select()
] ]