Merge pull request #3732 from FinnStutzenstein/MotionProjectorFix
Fixed deleted comment fields
This commit is contained in:
commit
7b9d8d11a6
@ -46,10 +46,11 @@ class MotionSlide(ProjectorElement):
|
|||||||
recommendation_field_id = None
|
recommendation_field_id = None
|
||||||
|
|
||||||
for id, field in fields.items():
|
for id, field in fields.items():
|
||||||
if field.get('forState', False):
|
if isinstance(field, dict):
|
||||||
state_field_id = id
|
if field.get('forState', False):
|
||||||
if field.get('forRecommendation', False):
|
state_field_id = id
|
||||||
recommendation_field_id = id
|
if field.get('forRecommendation', False):
|
||||||
|
recommendation_field_id = id
|
||||||
|
|
||||||
# extract all mentioned motions from the state and recommendation
|
# extract all mentioned motions from the state and recommendation
|
||||||
motion_ids = set()
|
motion_ids = set()
|
||||||
|
Loading…
Reference in New Issue
Block a user