ignore pycahce folders

This commit is contained in:
Jakub Trllo 2023-11-02 14:54:40 +01:00
parent 2d940227b1
commit 27dd549c7d

View file

@ -442,7 +442,7 @@ def _load_ayon_addons(openpype_modules, modules_key, log):
# Ignore of files is implemented to be able to run code from code
# where usually is more files than just the addon
# Ignore start and setup scripts
if name in ("setup.py", "start.py"):
if name in ("setup.py", "start.py", "__pycache__"):
continue
path = os.path.join(addon_dir, name)