Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
HAOCHENYE committed Oct 24, 2022
1 parent fc0aae1 commit ffa4a8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mmengine/registry/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ def switch_scope_and_registry(self, scope: str) -> Generator:
print_log(
f'Failed to import {scope} and register '
'its modules, please make sure you '
'have registered the module mannuly.',
'have registered the module manually.',
logger='current',
level=logging.WARNING)
root = self._get_root_registry()
Expand Down Expand Up @@ -377,7 +377,7 @@ def get(self, key: str) -> Optional[Type]:
else:
print_log(
f'Failed to import "{scope}", and register its '
f'modules. Please register {real_key} mannuly.',
f'modules. Please register {real_key} manually.',
logger='current',
level=logging.WARNING)
# get from self._children
Expand Down

0 comments on commit ffa4a8f

Please sign in to comment.