mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Merge pull request #3132 from BigRoy/modulesloader_typo
Cosmetics: Minor typo fix in ModulesLoader
This commit is contained in:
commit
be1a10670d
1 changed files with 4 additions and 4 deletions
|
|
@ -306,11 +306,11 @@ def _load_modules():
|
|||
basename, ext = os.path.splitext(filename)
|
||||
|
||||
if os.path.isdir(fullpath):
|
||||
# Check existence of init fil
|
||||
# Check existence of init file
|
||||
init_path = os.path.join(fullpath, "__init__.py")
|
||||
if not os.path.exists(init_path):
|
||||
log.debug((
|
||||
"Module directory does not contan __init__.py file {}"
|
||||
"Module directory does not contain __init__.py file {}"
|
||||
).format(fullpath))
|
||||
continue
|
||||
|
||||
|
|
@ -353,11 +353,11 @@ def _load_modules():
|
|||
basename, ext = os.path.splitext(filename)
|
||||
|
||||
if os.path.isdir(fullpath):
|
||||
# Check existence of init fil
|
||||
# Check existence of init file
|
||||
init_path = os.path.join(fullpath, "__init__.py")
|
||||
if not os.path.exists(init_path):
|
||||
log.debug((
|
||||
"Module directory does not contan __init__.py file {}"
|
||||
"Module directory does not contain __init__.py file {}"
|
||||
).format(fullpath))
|
||||
continue
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue