From c808e7900e6b52b5989b09da72cb2442d74b2638 Mon Sep 17 00:00:00 2001 From: maryhipp Date: Fri, 8 Mar 2024 12:37:15 -0500 Subject: [PATCH] ruff --- invokeai/app/services/model_install/model_install_default.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/invokeai/app/services/model_install/model_install_default.py b/invokeai/app/services/model_install/model_install_default.py index 1f62e0a30bd..1d9f4d4b0d2 100644 --- a/invokeai/app/services/model_install/model_install_default.py +++ b/invokeai/app/services/model_install/model_install_default.py @@ -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