mirror of
https://github.com/sartography/cr-connect-workflow.git
synced 2025-02-23 05:08:32 +00:00
fix study service
This commit is contained in:
parent
5b7e71d42d
commit
c18bc6f876
@ -459,6 +459,8 @@ class StudyService(object):
|
|||||||
cat_meta.id = cat.id
|
cat_meta.id = cat.id
|
||||||
cat_meta.state = WorkflowState[unused_statuses.get(cat.id)['status']]
|
cat_meta.state = WorkflowState[unused_statuses.get(cat.id)['status']]
|
||||||
cat_meta.message = unused_statuses.get(cat.id)['message']
|
cat_meta.message = unused_statuses.get(cat.id)['message']
|
||||||
|
cat_meta.message = unused_statuses.get(cat.id)['message'] \
|
||||||
|
if unused_statuses.get(cat.id)['message'] else ''
|
||||||
return cat_meta
|
return cat_meta
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user