Skip to content

Commit 0c04e3e

Browse files
authored
Merge pull request #518 from RemiCuxac/patch-2
Update guide_manager_component.py : skip loading of __pycache__ modules
2 parents 464e175 + 4a8f208 commit 0c04e3e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

release/scripts/mgear/shifter/guide_manager_component.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def get_component_list(self):
9090
pm.progressWindow(
9191
e=True, step=1, status="\nLoading: %s" % comp_name
9292
)
93-
if comp_name == "__init__.py":
93+
if comp_name in ["__init__.py", "__pycache__"]:
9494
continue
9595
elif comp_name in trackLoadComponent:
9696
pm.displayWarning(

0 commit comments

Comments
 (0)