Commit 75c5607f authored by Jiahang Chen's avatar Jiahang Chen
Browse files

fix build feature bug

parent 0b910996
...@@ -242,6 +242,8 @@ def build_feature(feature): ...@@ -242,6 +242,8 @@ def build_feature(feature):
APP_LOGGER.debug("Adding feature: %s" % feature_class_name) APP_LOGGER.debug("Adding feature: %s" % feature_class_name)
feature_instance = feature_obj() feature_instance = feature_obj()
for key in feature.keys(): for key in feature.keys():
if key == "class":
if key == "targets": if key == "targets":
build_sub_thing(feature_instance, feature) build_sub_thing(feature_instance, feature)
elif key == "subFeatures": elif key == "subFeatures":
Supports Markdown
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