Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions release/scripts/mgear/shifter/guide_manager_component.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def get_component_list(self):
reload(module)
else:
importlib.reload(module)
comp_list.append(module.TYPE)
comp_list.append(module.Guide.compType)
except Exception as e:
pm.displayWarning(
"{} can't be load. Error at import".format(comp_name))
Expand Down Expand Up @@ -229,14 +229,15 @@ def update_info(self):
reload(module)
else:
importlib.reload(module)
guide = module.Guide
info_text = (
"{}\n".format(module.DESCRIPTION)
"{}\n".format(guide.description)
+ "\n-------------------------------\n\n"
+ "Author: {}\n".format(module.AUTHOR)
+ "Url: {}\n".format(module.URL)
+ "Version: {}\n".format(str(module.VERSION))
+ "Type: {}\n".format(module.TYPE)
+ "Name: {}\n".format(module.NAME)
+ "Author: {}\n".format(guide.author)
+ "Url: {}\n".format(guide.url)
+ "Version: {}\n".format(str(guide.version))
+ "Type: {}\n".format(guide.compType)
+ "Name: {}\n".format(guide.compName)
)
except IndexError:
info_text = ""
Expand Down