fix(config): remove unnecessary resolve on config path

This commit is contained in:
psychedelicious 2024-03-11 23:06:55 +11:00
parent e43bfa3d70
commit dedce2d896

View File

@ -5,7 +5,7 @@ from pathlib import Path
from invokeai.app.services.config.config_default import get_config from invokeai.app.services.config.config_default import get_config
custom_nodes_path = Path(get_config().custom_nodes_path.resolve()) custom_nodes_path = Path(get_config().custom_nodes_path)
custom_nodes_path.mkdir(parents=True, exist_ok=True) custom_nodes_path.mkdir(parents=True, exist_ok=True)
custom_nodes_init_path = str(custom_nodes_path / "__init__.py") custom_nodes_init_path = str(custom_nodes_path / "__init__.py")