Skip to content

Commit

Permalink
ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
maryhipp committed Mar 8, 2024
1 parent 78e1b52 commit c808e79
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion invokeai/app/services/model_install/model_install_default.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,9 @@ def _migrate_yaml(self) -> None:
stanza["version"] == "3.0.0"
), f"This script works on version 3.0.0 yaml files, but your configuration points to a {stanza['version']} version"
except AssertionError:
self._logger.warn(f"Skipping entry with path {stanza.get('path', '')} with outdated metadata version")
self._logger.warn(
f"Skipping entry with path {stanza.get('path', '')} with outdated metadata version"
)
continue
continue

Expand Down

0 comments on commit c808e79

Please sign in to comment.